JQuery常用的 api

2021-02-13 02:19

阅读:421

text

http://api.jquery.com/text/

Get the combined text contents of each element in the set of matched elements, including their descendants后裔, or set the text contents of the matched elements.

 

html

http://api.jquery.com/html/

Get the HTML contents of the first element in the set of matched elements or set the HTML contents of every matched element.

 

val

http://api.jquery.com/val/

Get the current value of the first element in the set of matched elements or set the value of every matched element.


评论


亲,登录后才可以留言!