Indeed this is not related to perl, but i will try to help anyway... even if it gets deleted :p
Hope my reply is not meant as a misdemeanor! A question is a question and i am eager to help since i feel fine today
The main issue here is that you do not need to 'submit' the page to obtain the effect you want. Better, you need not do it!
What you need is a button which, on 'onclick' calls a javascript routine that pops up on an href with a cgi script that receives the parameters you need.
The sending page does not change, and the popup can perform any action you want. Especially if programmed in perl :)
Again, I hope we do not upset anybody and ask excuses if so.
update 1:
like:
...
<img src="bighotdogncolddrinkbutton.gif" onclick="javascript: openmypo
+pup(document.hiddenfield1, document.hiddenfield2)">
...
| [reply] [d/l] |
an example for the javascript function:
function submitit() {
w_action=window.open('$self_url','action');
document.forms['main'].submit();
}
and inside your form you can put:
<INPUT TYPE=BUTTON value=submit onClick='submitit()'>
I have taken this from a script I wrote some time ago, it is
intended just to provide starting point.
---- kurt
| [reply] [d/l] [select] |
Well the simplest thing to do is submit your form with the
"target = _blank" statement. That will open a new window.
<form action="http://myserver.com/cgi-bin/mycgi" method="post" target=
+"_blank">
A small window? I'm not sure, you might need to output
some javascript code, which I totally avoid:-)
| [reply] [d/l] |