This is JavaScript you need.

one example.

<FORM NAME="Information">
<INPUT TYPE="text" NAME="TextField" VALUE="Nothing Here">
<INPUT TYPE="submit" NAME="go" VALUE=" Go! " onSubmit="FormSubmit()'">
</FORM>

<SCRIPT LANGUAGE="JavaScript" TYPE="JavaScript/Text">
function FormSubmit()
{
    var textfield = Information.TextField.value;
    var url = "./processForm.php?textfield=" + textfield;

    window.open(url);
}
</SCRIPT>

OR!!!!

just add this to your form tag.
TARGET="_blank"


"Thomas Edison Jr." <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Glory,
>
> > Attach a javascript event to the submit button
>
> Something like :
>
> <input type="submit" name="go" onSubmit=wow();>
>
> 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[stuff], that is, coming in from a
> Database Table. How do i define these values up in the
> Javascript function in the <head> of the file?
>
> Thanks,
> T. Edison Jr.
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Sign up for SBC Yahoo! Dial - First Month Free
> http://sbc.yahoo.com



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to