Site Owners Forums - Webmaster Forums

Site Owners Forums - Webmaster Forums (http://siteownersforums.com/index.php)
-   PHP / mySQL (http://siteownersforums.com/forumdisplay.php?f=10)
-   -   Submit a form without the page reload (http://siteownersforums.com/showthread.php?t=65604)

binarynpixel 06-22-2013 12:33 PM

Submit a form without the page reload
 
Hi everybody,
Please help me to make form submission without reload the page using ajax. please share your suggestion.
Thanks.

Ranjan123 10-16-2013 08:46 AM

using jquery with form posting, this can be used for various other features too other than form function.

Luca tall 11-04-2013 11:25 PM

You can use preventDefault() method
$('#myForm').submit(function(event){
event.preventDefault();
$.ajax({
...
});
})


All times are GMT -7. The time now is 06:18 AM.


Powered by vBulletin Copyright © 2020 vBulletin Solutions, Inc.