I have a form and some of the <textarea>
values are coming filled by backend. When submitting I want to send inner HTML to the backend, when sending only the pre-filled are having values when calling their .html()
but not <textareas>
filled by the client. Any idea why this happens? I do the followings
I call this to get complete form html : $('#myform').html();
By calling this only pre-filled textarea is coming with the text in it like below
<teaxtarea name="t1" id="t1_001">The pre-filled text</textarea>
but for the text areas having text added from the client comes like this
<teaxtarea name="t2" id="t2_002"></textarea>
even if there is text added by the client.