Do you have a public page somewhere that you're trying this? That'd be helpful in diagnosing the problem. Otherwise, we're shooting in the dark here.
On Jan 23, 10:59 am, "KidsKilla .grin! wuz here" <kidski...@gmail.com> wrote: > Should, but itn't! =( > > And I whanna know why... > > maybe some kind of flag... > > 2009/1/23 jay <jay.ab...@gmail.com>: > > > > > > > this should work: > > > $("#elementID").click(function(){alert('clicked')}); > > > On Jan 23, 10:20 am, KidsKilla <kidski...@gmail.com> wrote: > >> Hi everyone! > >> I have a problem with binding events in jQuery. I didn't figured out > >> why, but when i'm tryin to bind a callback to links ( $(elm).click > >> (function() ), it doesn't works. but works fine with > >> elm.onclick = function() ... > > >> the same thing in 1.2.6 and 1.3.1, IE and FF... > > >> The question is: what can it be? it seems like an error with innerHTML > >> or somethng else, but I cant find out what happening... > > -- > Максим Игоревич Гришаев, > AstroStar.ru