View Single Post
Old 03-14-2012, 05:15 PM   PM User | #1
Vernier
New Coder

 
Join Date: Dec 2011
Posts: 86
Thanks: 1
Thanked 0 Times in 0 Posts
Vernier is an unknown quantity at this point
Ajax form submit

Hey,

when my page loads, I need a page to load on the page, like an iframe (except iframes seem to take forever to load, and most of the time don't). So I tried ajax. I've got the form to appear on the page but when I lcick submit, it just refreshes the page.

My codes are as follows:

Index.html: http://codeviewer.org/view/code:23f6

Requests.php: http://codeviewer.org/view/code:23f7

How can I submit the form without the page just refreshing, but actually submitting the form?

Thanks

~ David
Vernier is offline   Reply With Quote