[jQuery] Re: Events. .click() vs. .onclick

2009-01-23 Thread KidsKilla .grin! wuz here
yeap, ill try to publish an example of the page tomorrow... 2009/1/23 Eric Garside : > > 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"

[jQuery] Re: Events. .click() vs. .onclick

2009-01-23 Thread jay
Are you including any other js files? Perhaps it's confused about $. Try a simple html file like this: $(function(){ $("#elementID").click(function(){alert('clicked')}); }); asdf On Jan 23, 10:20 am, KidsKilla wrote: > Hi everyone! > I have a problem with binding events in jQuery. I di

[jQuery] Re: Events. .click() vs. .onclick

2009-01-23 Thread Eric Garside
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" wrote: > Should, but itn't! =( > > And I whanna know why... > > maybe some kind of flag... > > 20

[jQuery] Re: Events. .click() vs. .onclick

2009-01-23 Thread KidsKilla .grin! wuz here
Should, but itn't! =( And I whanna know why... maybe some kind of flag... 2009/1/23 jay : > > this should work: > > $("#elementID").click(function(){alert('clicked')}); > > On Jan 23, 10:20 am, KidsKilla wrote: >> Hi everyone! >> I have a problem with binding events in jQuery. I didn't figured

[jQuery] Re: Events. .click() vs. .onclick

2009-01-23 Thread jay
this should work: $("#elementID").click(function(){alert('clicked')}); On Jan 23, 10:20 am, KidsKilla 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 wor