Finding all LIs that have name="checked"
- by nobosh
I'm trying to find all LIs with name=checked and hide() them, but this doesn't seem to be working:
$('li').attr("name","checked").hide();
<li name="unchecked" style="display: inline;"><a href="/">Home</a></li>
Any ideas?