php - Using Ajax to send form data -


i have html/php form using using post send form data script php file. want send data out page reloading upon clicking submit button.

i wondering how implement ajax allow functionality.

i have grasp of javascript have never used ajax technology.

if question beyond scope of q&a if please point me in right direction tutorial allow me implement technology out having spend couple of days learning how works. working short deadline.

cheers.

you can serialize , post form data jquery , optionally handle response.

the following example jquery's documentation http://api.jquery.com/jquery.post/:

$.post("test.php", $("#testform").serialize()); 

Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -