jQuery Custom Selector for selecting elements by exact text :textEquals

I just finished up writing another short blog post over on my company’s development blog covering a jQuery custom selector I wrote to find elements based on their exact text.  There was a particular case where I needed to select elements in jQuery based on their exact text and not on whether the text contained a certain string.  That ruled out the possibility to use the built in contains() method.

Lanit Development Blog – jQuery Custom Selector for selecting elements by exact text :textEquals

Advertisement
jQuery Custom Selector for selecting elements by exact text :textEquals

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s