php Programming Glossary: processform
Form submit without refresh using jquery/ajax if page have more than one form http://stackoverflow.com/questions/12026600/form-submit-without-refresh-using-jquery-ajax-if-page-have-more-than-one-form multiple forms on the page. Thanks in advance. function processForm .ajax type 'POST' url form_process.php data 'user_name ' encodeURIComponent.. '#message' .html data form action method post onsubmit processForm return false input type 'text' name 'user_name' id 'user_name'.. like formid to get form data within the function to pass processForm id of the form function processForm formId your validation code..
Form submit without page refresh http://stackoverflow.com/questions/3776900/form-submit-without-page-refresh it just like tutorial.. You can also use json js function processForm .ajax type 'POST' url form_process.php data 'user_name ' encodeURIComponent.. .html data html form action method post onsubmit processForm return false input type 'text' name 'user_name' id 'user_name'..
|