I want to filter based on two attributes, the first is id and the second is called level
i.e. id=”someId” level=”someLevel”
Shouldn’t this code do the trick … it doesn’t seem to work.
$(".someClass").filter("#"+id, "[level='"+level+"']").someAction();
You are providing two arguments:
You probably want this: