PDA

View Full Version : Dynamic Ajax Content problem



Sqrl
06-06-2006, 12:51 PM
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:


<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!

ddadmin
06-06-2006, 07:54 PM
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/