I have this function in Jquery which basically says when you click on the ID “MyID” do a fadetoggle of all the li tags where the class is not equal to “nav”:
$("#MyID").click(function () {
$('li[class!="nav"]').fadeToggle("fast", "linear");
});
Is there a way to do this in Prototype js? Specifically is there a way to use a selector that selects a class != (not equal to) something?
Try this,
Hope this helps…