[This may result in a double post. Apologies if so.]
Martin Nadoll wrote on 24 Nov 2003:
<snip>
[color=blue]
> popUpWin = open(URLStr, 'popUpWin',
> 'toolbar=no,location=no,directories=no,status=no,m enub
> ar=no,scrollbars,resizable=no,copyhistory=yes,widt h='+width+',hei
> ght='+heigh t+',left='+left+',
> top='+top+',screenX='+left+',screenY='+top+'');
> }[/color]
It would have been nice if you split that string into concatenated
sections, rather than letting it wrap - it would have been easier to
test.
<snip>
[color=blue]
> <form name="Firmenliste" method="post" action="Schnellsuche"
> onSubmit="popUpWindow(myFormLink, 20, 20, 750, 400); return
> false">[/color]
Your onsubmit event handler unconditionally cancels the submission.
The 'successful controls' won't be submitted unless you allow it,
whether that be through a call to Form.submit(), or returning true.
I think that using a pop-up and the 'post' method would be quite
difficult, and using 'get' might be a better alternative (depending
on the content of the submission). An alternative would be to use a
redirection page that opens in the current window, opens a pop-up
with the results, then takes the main window back to the form, or
another destination.
Mike
--
Michael Winter
M.Winter@blueyonder.co.uk.invalid (remove ".invalid" to reply)
--
Michael Winter
M.Winter@blueyonder.co.uk.invalid (remove ".invalid" to reply)