Common methods of jq operation array

https://www.runoob.com/jsref/jsref-obj-array.html

 

supplement:

grep() method: The $.grep() function uses the specified function to filter the elements in the array and returns the filtered array.

For details, refer to: https://www.runoob.com/jquery/misc-grep.html

Guess you like

Origin blog.csdn.net/liangmengbk/article/details/111971741