[jQuery] Using jquery to set div and get this div text in asp.net
Hi,
I have been working on a small project where I have run into a hurdle!
I used jQuery to set the text of a div
The code for this is given below:
var comments = $('textarea#modalTextArea').val();
$('#divComments').html(comments);
However, I need to access this value in the asp.net codebehind - this
is not taking place when I try this code -
dim s as string = divComments.InnerText
Any ideas on how this can be accomplished?