tags:

views:

214

answers:

1

I can see in firefox that ul.ulsearch has the class of hidden, but it doesn't work, why?

$('.ulsearch').click(function() {
    if ($('.ulsearch').hasclass("hidden")) {
        $('.lisearch').fadeIn(100);
    }  
});
+5  A: 

AFAIK it's hasClass, not hasclass

zincorp
Yup, JS is case-sensitive.
meagar
thanks, that fixed it.
ExodusNicholas