You need to bind an event handler to your button after you've created it. I would suggest you look at the click() method in the jQuery docs for ideas and examples of how to manage that.

Rey...

lukas wrote:
My PHP code creates a button which doesn't exist when my page is
loaded.  Hence, the according jQuery command doesn't work. How can I
fix this? Thank you!

Reply via email to