TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
narasiman rao
NA
519
765.4k
how to get id from html into c#
Sep 15 2016 8:12 AM
My code as follows
function AddNewCriticalResource() {
var pro = $("#ms").val();
var ProjectIds = pro.toString();
var projectNames = $("#ms").text();
var addordelete = 1;
$.ajax({
type: "POST",
url: "CriticalResource.aspx/AddNewCriticalResource",
contentType: "application/json; charset=utf-8",
data: '{ stringAssociateIds: "' + associates + '", stringProjectIds: "' + ProjectIds + '", stringTaggedBy:"' + AssocID + '" }',
dataType: "json",
responseType: "json",
cache: false,
success: function (msg) {
var TableData = $.parseJSON(msg.d);
var alertString = '';
noOfRows = 0;
$.each(TableData, function (i, data) {
alertString = alertString + data.AssociateID + '-' + data.ProjectName + ', ';
noOfRows = i + 1;;
});
from the above code i want to get projectNames into code behind page.
this below line
var projectNames = $("#ms").text();
for that how can i do in Code behind page please help me.
Reply
Answers (
6
)
Undo and Redo Functionality in DataGridView Window Form App.
how to assign html value into hidden field