Ask questions and get good answers on mb.jQuery.components

I am trying to make a form based on a list of tables (Added with AJAX from a database). When I try to select the buttons that are created and added to the form, they do not respond. Is there something I have to do to "refresh" the available JavaScript elements? I know that my code works on other buttons (Ones that are loaded when the page loads), just not on the ones that are added after the original page load.

Edit: I can add code if needed but I am not certain what would be relevant to add. If I need to clarify more, let me know, I am new to JQuery but eager to learn.

asked Jan 15 '11 at 12:01

pyoung's gravatar image

pyoung
11

edited Jan 15 '11 at 12:25


I found my own answer, use live() :)

answered Jan 15 '11 at 18:05

pyoung's gravatar image

pyoung
11

Your answer
toggle preview

jQuery main site - Matteo Bicocchi