PDA

View Full Version : Ajax - Thank you page



miumiu
02-26-2006, 04:33 AM
I am interested in using this script
http://www.dynamicdrive.com/dynamicindex17/ajaxcontent.htm

To load my contact form page in a div.
Was wondering, is it possible to make the 'thank you' page to appear in the same div as the contact form?

I have given a try, and it just go to a whole new page instead.

ddadmin
02-26-2006, 01:10 PM
In general it's certainly possible, though you'll need to know enough PHP (or whatever the form script is written in) to modify the form script to return the proper HTML code instead of redirecting to a new page upon submission. It's probably easier just to find an Ajax style form submission script. I've never tried this, but here's one: http://www.dustindiaz.com/ajax-contact-form/

miumiu
02-28-2006, 05:58 PM
Thank you very much,
it would work just fine
=)