RE: [PHP] Link acting as a submit button

From: Date: Fri, 25 Jul 2003 14:31:06 +0000
Subject: RE: [PHP] Link acting as a submit button
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-156864@lists.php.net to get a copy of this message
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

« previous php.general (#156864) next »