For Programmers: Free Programming Magazines  


Home > Archive > PHP Pear > September 2007 > HTML_AJAX.formSubmit









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author HTML_AJAX.formSubmit
Simon Welsh

2007-09-13, 4:02 am

I am trying to submit a form using the HTML_AJAX class.

I have both the form and the target in a div with id section.

The form is loaded into the div when a link is used.

In the form, I have onsubmit="return !HTML_AJAX.formSubmit
(this,'section');" with action="cmmin?printreq§ion={$_GET
['section']}"

However, when submitting the form, I am sent to cmmin?section=
{$_GET['section']} (the link used to load the form).

Any ideas?

---
Simon Welsh
Admin of [url]http://simon.g.nz/[/url]

Windows is a joke operating system. Hell, it's not even an operating
system. NT is Not Tough enough for me either. 95 is how may times it
will crash an hour.

[url]http://www.thinkg.com/brain/gimme.cgi?wid=81d520e5e[/url]
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com