[jQuery] .click() issue

2007-12-10 Thread SyLon
Hello everyone! Could someone please explain me how could this be?? 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 eve

[jQuery] .click() issue in FireFox

2007-09-11 Thread George Blouin
I have rows of data that look like this Battle Cobra C 1319 (0) 40 5006750 Clan/Level 2 Upgrades Present Blood Spirit I wrote a little method to add each row's data to a seperate div using the .click() method that looks like this $("#Results table [EMAIL PROTECTED]").click(); This works gre