The line: $("#LHNav ul").hide();
Is working in both FF and IE. The next line: $("#LHNav li:not(:has(a))").css('color','red').css('cursor','pointer').bind("click", function(){ showHideMenus(this); }); does not work in IE. I changed the line that does not work in IE to: $("#LHNav li:not(:has(a))").css('color','red'); and it still fails in IE but works in FF.