jquery get contents of textarea code example
Example: jquery get textarea text
$('input#mybutton').click(function() {
var text = $('textarea#mytextarea').val();
//send to server and process response
});
$('input#mybutton').click(function() {
var text = $('textarea#mytextarea').val();
//send to server and process response
});