I am loading in forms via ajax but need to know how to then apply event listeners after they have been loaded. I want to capture the submit to preventDefault() and submit form via ajax.
I am loading in forms via ajax but need to know how to then apply event listeners after they have been loaded. I want to capture the submit to preventDefault() and submit form via ajax.
When you say a form, is it just HTML or is it Ext.form.Panel?
Mitchell Simoens @LikelyMitch
Modus Create, Senior Frontend Engineer
________________
Need any sort of Ext JS help? Modus Create is here to help!
Check out my GitHub:
https://github.com/mitchellsimoens
I am loading forms dynamically through ajax. After I add the form to the Container via setHtml() I want to be able to listen for the submit and handle through ajax.