Vernier
03-13-2012, 08:28 PM
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
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