Selecting a HTML Element with Specific Content String
Hi jQuery Genuises,
I've been using jQuery for a while, but generally have only kept things pretty basic. I'm trying to parse through some <span> elements on a page, find one which has the content 'Workshop' (a string) and add some custom CSS to it. addClass() is a pretty usual thing for me to use, but I can't figure out how to have jQuery select the proper span. $('span') + ??
Any tips to send me to the right function?