rgiri (8) [Avatar] Offline
#1
Hello,

I have a simple form -
a button - on click populates an empty div via ajax with a snippet of a form. On saving the form I want to come back to my main html page with the form I just saved in the same div.

How can I trigger the onclick(that was responsible for populating the empty div) when the page loads after form submission with the data filled in.

Thanks a lot for your help,
Rumpa
bear.bibeault (675) [Avatar] Offline
#2
Re: load in edit mode
The click() method, with no parameters, will trigger the click handler for all selected elements.
rgiri (8) [Avatar] Offline
#3
Re: load in edit mode
Thanks a lot!

Rumpa