With jQuery, I added a textarea
$('#description').append('<textarea rows="8" cols="40">test</textarea>');
Ok, and I change “test” text to “test 01”. But, when I try
var cadena = $('#description').text();
alert(cadena);
I get “test” and not “test 01”. Why?
give the
textareaan id and then change it’s value with thevalfunction: