Re:FilterByData jQuery Plugin: Select by HTML5 Data Attr Value
by jonathansampson on Tuesday July 19, 2011 @06:35PM
(#2783437)
Awesome, man. I can't say how many times I've found myself in the same situation. Nice solution, and happy to see there's something I can use in the future instead of writing and rewriting the same/similar logic.
[ Parent
| on HN ]
Re:FilterByData jQuery Plugin: Select by HTML5 Data Attr Value
by elijahmanor on Tuesday July 19, 2011 @07:05PM
(#2783515)
Thanks... yeah I'm also working on a selector filter to do partial matches on html5 data attribute names.
So if you have data-mytype & data-mytyphoon you can match both of them with one selector doing a starts with type syntax.
The idea is similar to the attribute selectors native in jQuery. I should be posting it soon.