Glory,
2 Problems with this :
1. I have a PHP/MySQL statement within my PHP Code,
which is in the Body part of the page. This generates
the Form Fields & Thier Values.. there are a lot of
hidden fields who's values are defined by Database
Variables..
If i place the FormSubmit()Function in the
This is JavaScript you need.
one example.
function FormSubmit()
{
var textfield = Information.TextField.value;
var url = "./processForm.php?textfield=" + textfield;
window.open(url);
}
OR
just add this to your form tag.
TARGET="_blank"
"Thomas Edison Jr." <[EMAIL PROT
Glory,
> Attach a javascript event to the submit button
Something like :
Wherein wow() defines a the window.open function?
> and also attach the form values to the url.
How do i do this? Because the 3 or 4 form fields i
have, which are Hidden Fields, contain values coming
in from $myrow[stu
Thomas,
Yes, I understand what you want to do, but this is a limitation of HTML
itself, rather than PHP. There are no HTML commands for doing this.
JavaScript, being client side, has much more control over the browser
and can define window size etc. If, on your submit button, you use the
onCl
On Tuesday 09 July 2002 19:25, Thomas Edison Jr. wrote:
> Hi,
>
> Ok, let me show some code :
>
>method=post target=\"blank\">
>
> $result[vProID] >
> $result[vProName] >
>Quantity
> type=\"submit\" value=\"Add To Cart\">
>
>
> This is the SUBMIT button that submits the form
Hi,
Ok, let me show some code :
Quantity
This is the SUBMIT button that submits the form
alongwith the Form Variables to a file called
"Add2Cart.php" !! But this file simply opens in an
unadministered new window.
i would like to use the window.open function, or
whatever ca
Thomas,
If using JavaScript to open the window, then php is not going to be able
to transfer variables as it is not being used. As you form is not being
submitted (you intercepted it with a JavaScript call, right?) then you
need to transfer them manually by getting the JavaScript to add the
v
Hi,
When i press the Submit button, i would like it to
open in a new Javascript Windows with well-defined
characteristics like size, width etc.
I create a window.open function and gave the name of
my PHP page .. but the Form Variables are not passing
into it..
Thanks,
T. Edison Jr.
=
R
8 matches
Mail list logo