[jQuery] Re: jQuery Listen plugin help

2008-08-20 Thread sergeh
I'll give it a shot and let you know how it goes, thanks for the help! On Aug 19, 8:48 am, Ariel Flesler <[EMAIL PROTECTED]> wrote: > The problem is that the clicked element is always the image, not the > span. > > $.listen( 'click', 'img.reflect', function() { >   alert("Click!"); > > }); > > Ch

[jQuery] Re: jQuery Listen plugin help

2008-08-19 Thread Ariel Flesler
The problem is that the clicked element is always the image, not the span. $.listen( 'click', 'img.reflect', function() { alert("Click!"); }); Cheers -- Ariel Flesler http://flesler.blogspot.com On Aug 18, 3:54 pm, Brian Schilt <[EMAIL PROTECTED]> wrote: > try applying 'Listen' to the images

[jQuery] Re: jQuery Listen plugin help

2008-08-18 Thread Brian Schilt
try applying 'Listen' to the images container and adding the click listener to the 'thumbs' class. $('#images-container').listen('click', '.thumbs', function(){ alert('click'); }); Brian On Aug 18, 11:50 am, sergeh <[EMAIL PROTECTED]> wrote: > I was easily able to make the plugin work where I

[jQuery] Re: jQuery listen plugin help

2008-03-06 Thread Ariel Flesler
Hi Calzone Seems IE doesn't bubble the event submit, if that's the case, then this plugin can't handle that event, until a workaround is found :) As an option, you could listen for clicks on the submit button. Maybe you need to check for Enter's (keypress) on the fields. With a few checks, yo