If i have a Textarea inside div. Something like
<div id="section3">
<textarea id="txtArea1">old value
</textarea>
</div>
And by using:
alert($('#section3').html());
$('#txtArea1').val('new value');
alert($('#section3').html());
both alerts show the same markup with ("old value"); is there any way i can flush the html so the last statement gets the updated html markup?