PDA

View Full Version : Dynamic Ajax Content and form submit



dragon_sa
05-08-2011, 11:59 AM
1) Script Title:
Dynamic Ajax Content

2) Script URL (on DD):
http://www.dynamicdrive.com/dynamicindex17/ajaxcontent.htm

3) Describe problem:
Is it possible to use this script when submitting forms, I would like to load the form processing page into the div and then use a php header redirect when processed to load another page into the same div, is this possible with this script, or is there a better script for doing this?
a: If it is possible what is the method and syntax for the form action?
b: What would be the syntax for header("Location: ajax url"); ?

ddadmin
05-09-2011, 08:28 AM
Getting a form to submit Ajax style is a bit more complicated than just modifying Ajax Content script. There are some other issues that need to be resolved. Your best bet is just to do a quick search on Google for Ajax form (http://www.google.ca/search?hl=&q=ajax+form&sourceid=navclient-ff&rlz=1B3GGHP_en-GB___CA430&ie=UTF-8).