通过本文主要向大家介绍了html等相关知识,希望对您有所帮助,也希望大家支持linkedu.com www.linkedu.com
html()
取得第一个匹配元素的html内容。这个函数不能用于XML文档。但可以用于XHTML文档。
Get the html contents of the first matched element. This property is not available on XML documents (although it will work for XHTML documents).
返回值
String
示例
[ <div><p>Hello Again</p></div> ]
取得第一个匹配元素的html内容。这个函数不能用于XML文档。但可以用于XHTML文档。
Get the html contents of the first matched element. This property is not available on XML documents (although it will work for XHTML documents).
返回值
String
示例
[ <div><p>Hello Again</p></div> ]