Umm
Can't you simply use:
output.document.forms[0].submit()
I did Javascript for 3 years but that was a while back now.. But there is
most definitely a submit function for forms so you don't have to use that
queer invisible submit trick..
... Hope that helps ...
:::
: Julien Bonastre [The-Spectrum.org CEO]
: A.K.A. The_RadiX
: [EMAIL PROTECTED]
: ABN: 64 235 749 494
: QUT Student :: 04475739
:::
- Original Message -
From: R. Visser [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, April 21, 2002 9:22 PM
Subject: [PHP] Re: I would like to get a script to display in a frame
[EMAIL PROTECTED] wrote:
Does anyone have any experience with making script output display in a
frame?? I would like to get this to happen on an e-commerce site I am
designing and am stuck. I have tried form method=POST
action=myscript.php target=main with no success. Please help.
Jeff Means
CIO for PicoTech
http://www.picotech.net
Hi Jeff,
maybe it's a good idea to create a hidden HTML-form in the output frame.
In that case you can use javascript in your input frame in order to send
the given
values to the hidden form in your output frame. After that you can submit
the hidden form using the same javascript in your input form.
For example your output frame is called output
To fill your hidden frame with input data:
output.document.forms[0].hidden_name.value=value;
I would simply create a hidden submit-button (using css display-function)
You can activate this button out of javascript with:
output.document.forms[0].submit.click();
It's very simple, but I think it should work.
Greetings,
René
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php