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();
filter("[level='2']")