>
> Works:
>
> $(".flag").hide();
>
> Doesn't work (wont alert):
>
> $(".flag").click(function (){
> alert("hello");
> });
>
> WORKS:
> $(".flag").click(function (){
> alert("hello");
> }).click();
>
> It seems like the browser just doesn't see the click event! Weird..

What does the HTML look like?

--dave

Reply via email to