data-id
attribute, just like I can when I want to get a native HTML tag. for example, if I run in the DOM of Google Chrome the code $('div')
it lists me all the elements in the document and that are div tag.
Is there any code similar to $('[data-id=*]')
?