programming faqs interview questions tech technical educational freshers guide preparation interviews hr telephonic
try another color:
try another fontsize: 60% 70% 80% 90%
ProgrammingFAQs

how to get textarea content in jquery

Average: 3.4 (5 votes)

we can get the textarea

we can get the textarea value using jquery
$("#description").val();

see example below:

javascript code:

$(function() {
$(".button").click(function() {
var description = $("#description").val();
alert(description);

});
});