Results 1 to 2 of 2

Thread: Dynamic Ajax Content problem

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

    Default Dynamic Ajax Content problem

    I'm trying to use the Dynamic Ajax Content script to make a request section for my sigtags.

    When I submit a request the browser sends nothing to the php script.

    Could there be something wrong with my code? In addition, it will not display the php page properly. I'm unsure if maybe it's something in the JS from the countdown, or the Google banner. But, it allows ads to be shown on the index.htm page, but not on an external page being displayed in the rightcolumn.

    This is what the page should look like:
    http://www.sassyscreations.com/Sqrl/sqrlreq1/

    The Dynamic Ajax version is here:
    http://www.sassyscreations.com/tagzbysqrl/request/

    This is the code I am using:
    Code:
    <form action="javascript:ajaxpage('http://www.sassyscreations.com/tagzbysqrl/request/sqrlreq1/sendinfo.php', 'rightcolumn');" method="get" onSubmit="submitonce(this)">
    Name/phrase for your tag: 
    <input name="tagname" type="text" maxlength="20">
    <br />
    <center>
    <input type="submit" value="Request">
    </center>
    </form>
    Any help would be appreciated!

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Hmmm it seems you're using the Ajax content script to process your form data? If so that won't work without a lot of modification to the script, not to mention the PHP script on the server end.

    What you need is a Ajax based form script, such as this one: http://www.dustindiaz.com/ajax-contact-form/

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
  •