Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS How to use jQuery to parse all the classes with name/ID of? Re: How to use jQuery to parse all the classes with name/ID of?

#50616
pab
Member

to see if a span contains something you can check with a $(‘span:contains(the word you are looking for)’)

a simple example would be

$(document).ready(function() {

$(‘span:contains(the word you are looking for)’).do what you want from here(”);

});