RSSAmplifier

Brian Wigginton · Oct 17, 2013

jQuery’s Advanced Attribute Selectors

0
Sign in to vote or save

This page cannot be shown here. You can still read it on the original site — the toolbar below keeps your place in the directory.

TIL that jQuery has some pretty cool attribute querying capability. I knew you could select element by attributes by simple adding them with brackets: $('a[rel]') And that you can also match against content inside the attributes. $('a[rel='nofollow']') $('a[rel!='nofollow']') But this is where is gets cool. You’re not just limited to equal or not equal. You can also provide other operators for…

Read on /2013/10/jquerys-advanced-attribute-selectors/

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.