Home > Web Front-end > JS Tutorial > JQuery contains selector_jquery

JQuery contains selector_jquery

WBOY
Release: 2016-05-16 18:28:35
Original
1689 people have browsed it
contains selector

contains selector refers to the object itself that includes the specified content, such as: $('td:contains("abcd")').addClass('highlight' ); is to find all cells containing content such as "abcd", set the style type of these cells and add the "highlight" class.

The following code needs to be refreshed after running in order to load jquery
Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template