Getting div content WITH control values
Hi.
I have a div on a page:
<div id="content">
<table>
<tr>
<td>
<inputid="TextBoxStopRoadName01" type="text" />
</td>
</tr>
</table>
</div>
Now if I type something in that textbox, and then get all the div code:
var wholeDiv= $('#content').html();
the text I just typed in the input field, is missing. Actually all changes to this div is ignored, only the initial div state is returned.
How can i do this?
Thanks alot!
Kind regards,
Lars