Results 1 to 4 of 4

Thread: need help: w/Dynamic Ajax Content and PHP form

  1. #1
    Join Date
    Jul 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question need help: w/Dynamic Ajax Content and PHP form

    1) Script Title: Dynamic Ajax Content

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...jaxcontent.htm

    3) Describe problem: I loaded the Dynamic Ajax Content script to my main pages header and created a Div tag where I want the new page to load and it works great. However, my new page that loads in the Div tag is a php form and when I fill it out and submit the results are opened in a new page. I would like the results to open in the same Div tag area.

    Can any one assist?
    Last edited by drranch; 07-16-2006 at 05:06 AM.

  2. #2
    Join Date
    Apr 2006
    Posts
    429
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Please don't mind me. I am just posting a lot of nonsense.

  3. #3
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    I don't think that this can be done unless php can display the results on an ordinary page without reloading it which, I don't think it can.

    What I think you are missing is that Dynamic Ajax Content script doesn't load a page into a division, it loads just the HTML code of a page into a division. It then becomes just one page but, if reloaded, will revert to the page it was before the other page's HTML was loaded into the division.

    To get the kind of effect that you are looking for, something other than Dynamic Ajax Content script would probably have to be used. An iframe would probably be your best bet. Load the form into the iframe and load the results into the iframe.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  4. #4
    Join Date
    Jul 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Thumbs up

    Thanks for tut! You learn something new every day

    I'll try the iframe suggestion and see where it takes me.

    AND most of all thank you for your time!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •