RE: [PHP] Link acting as a submit button
| From: | Matt Palermo | Date: | Fri, 25 Jul 2003 14:48:19 +0000 |
| Subject: | RE: [PHP] Link acting as a submit button | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-156870@lists.php.net to get a copy of this message | ||
I found out that it works fine without the submit button that I had in there.
When I take the submit button out, it works, if I put it back in there I get
the error message again.
Any ideas?
Matt
>===== Original Message From bigdog@venticon.com =====
>On Fri, 2003-07-25 at 05:30, Matt Palermo wrote:
>> I just remembered (I'm not sure if it makes a difference) that I am using
>> frames on this page. Does this matter at all? Thanks.
>
>Yes it matters tons with the javascript call.
>
>Here is some info on it...however, these questions are now javascript
>and not php...
>
>1. make sure you pass in a valid page to your function.
>2. make sure that you have a form that you are accessing.
>3. make sure that when you access the form you are accessing the correct
>frame page.
>
>Example: when you set up the frames use the name attribute to assign
>names to the frames...
>
>so if you have a frame named frame1...then you can do this...
>
>frame1.document.forms[0].action.value = where;
>frame1.document.forms[0].submit;
>
>I might be off on this a little but that should get you started in the
>right direction.
>
>--
>BigDog
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php