How do you use jQuery filter() on an attribute that is not a class or id
- by Ankur
I want to filter based on an attribute called "level".
Where I have written -- something here -- I don't know what to do to reference the level attribute. If it was an id attribute I would do #idName if it was a class I would do .className.
I am not sure what to do to select the level attribute.
$(".myClass").filter(--something here to reference the level attribute --).remove();