Here is my situation. I am loading forms with ajax on the site. I want the form responses to load in the same spot when i submit. I can use livequery and get the first form to load with 'click' event, but when i get to a form that calls a second form i cannot get livequery to fire. How can i have it fire on both the 'click' and 'submit' events?
This works for the first part. What do i add to get it to fire on submit functions too? $('#myform').livequery('click', function() { var options = { target: "#loadarea" } $(this).ajaxForm(options); });