Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript_howto thread: How to open a new window for a form Submit


Message #1 by anne.do@c... on Wed, 11 Dec 2002 20:10:11
just change the target to the name of the new window.

At 20:10 11/12/02 +0000, you wrote:
>I have this code for my form:
>
><form name="Form" method="post"  action="index.cfm" target="_blank">
>.....
></form>
>
>It opens a new window for the action page. But I want it to open a to a
>certain size (400x500) and not show toolbars, etc. Target="_blank" doesn't
>seem to do this.  How can I get it to open a new window in the form submit
>with these JS properties?
>window.open
>('index.cfm', 'NewWin', 'toolbar=no,location=nos,directories=no,status=no,m
>enubar=no,scrollbars=yes,resizable=yes,height=400,width=500')"




  Return to Index