Data selectors for jQuery
I am using .delegate()
, which requires a selector a开发者_如何学Pythons its first argument.
I would like the selector to select all element on the page that have data('myData') === true
.
Do such selectors exist?
No, but you could create such.
精彩评论