Is there a jQuery selector to check if a tag has any attributes?
- by Ektron Doug D
In trying to select elements that have any attributes, the following throws a jQuery syntax error.
$("div[*]")
Is there a selector to check if a tag has any attributes?
Tested with jQuery 1.3