[jQuery] Re: click() not binding to appended elment

2008-04-01 Thread rsmolkin
Thanks for the post, this just help me figure out the problem I was having with binding click events to dynamically generated links. -Roman On Mar 26, 1:19 am, boermans <[EMAIL PROTECTED]> wrote: > The problem is that when you run: > > $('img.remove').click(function() { > console.log('test'

[jQuery] Re: click() not binding to appended elment

2008-03-25 Thread boermans
The problem is that when you run: $('img.remove').click(function() { console.log('test'); return false; }); The image you are attempting to bind to doesn't exist. To get around this you will need to bind the remove function after adding the player. There's a few ways to do this - perha