Ajax problem
-
i tried fetching a form from another page into a div element using ajax, now i want to use ajax function to submit the form i fetched but its not working... please how can i go about it? thank you
-
i tried fetching a form from another page into a div element using ajax, now i want to use ajax function to submit the form i fetched but its not working... please how can i go about it? thank you
Ajax and Forms are two different animals.* Forms are submitted with a "SUBMIT" input type. They typically call to a target page which accepts the data from the form -> likely with a new page being rendered
- Usually AJAX is executed (called) via a javaScript function through pretty much any event that makes sense (on click, onchange, etc.). A new page is not usually rendered (the point of AJAX)
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein
"As far as we know, our computer has never had an undetected error." - Weisert
"If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010