javascript - Trying to submit a form after loading it via ajax -
I am loading with the server using an Axoux, but when I try to submit it, it never also not submitted .. the code is:
$ (document) .ready (function () {function successHandler (result) {} function Trutihandlr (error) {} $ .ajax ({ Url: "http: /www.***************************************************************************************** ******************************, ul '). (); Ajaks. Piarjesaanpi (result);} error: function ( Request, error) {warnings ('network error has occurred please return Do Ryas! ');}}); Var ajax = {parseJSONP: function (data) {$ ( "# movie-data'). Aepend (data); $ (" # movie-data). List View ( ' Refresh '); var newtheme =' b ';}} // here try to present the I $ loaded form ( "form"). (on' Submit ', function () {alert ( "form Submit ");});}); As you can guess, I expect a warning ('submit form') after submitting it.
you get the Jquery function Submit () (): $ ("form"). Submit ();
Comments
Post a Comment