Thursday, September 29, 2011

html()

html() returns String
Get the html contents of the first matched element. This property is not available on XML documents.

Example:

$("div").html();
HTML:
<div><input/></div>
Result:
<input/>

No comments:

Post a Comment