Home >Web Front-end >JS Tutorial >JS Jquery traverse and filter page elements automatically complete (implementation code)_javascript skills

JS Jquery traverse and filter page elements automatically complete (implementation code)_javascript skills

WBOY
WBOYOriginal
2016-05-16 17:29:35841browse

Copy code The code is as follows:

                                                   ";
var s = new RegExp(value, "i")//I means case-insensitive (can be omitted)
$(".lico").each(function (i, n) { / /lico traverses the class names of all li lists
                                                                                                                                                                                                                                                                         .
                                                                                                                                                                                                              
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn