开发者

Data selectors for jQuery

开发者 https://www.devze.com 2023-04-02 14:24 出处:网络
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.

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号