What is wrong with this jquery snippet in ie6?

Posted by codeninja on Stack Overflow See other posts from Stack Overflow or by codeninja
Published on 2010-05-06T00:09:27Z Indexed on 2010/05/06 0:18 UTC
Read the original article Hit count: 178

Filed under:
|
|

ie6 isn't playing nice with my jquery snippet, why is this throwing a syntax error in IE6

  if(typeof isIE6 !="undefined"){   
    $("#dropdown-list li").hover(
      function(){ $(this).addClass("hover"); },
      function(){ $(this).removeClass("hover"); },
    );
  };

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about ie6