Ashish Kulkarni wrote:

Hi
can we open a new window from action class?
i dont want to use <form action="display.jsp" method="post"
target="_blank">
as i want to be able to open this new window from any
form( i have a menu option which can be executed from
any page of my website)
Basically i have a java script which looks like this
TheNewWin = window.open(url, '',
config='height='+height+', width='+width+',
toolbar=no, menubar=no,scrollbars=no,resizable=no,
location=no,directories=no, status=no
,offscreenBuffering=false');


Ashish



Try:

<form action="/yourAction" . . . . . target="someName" onsumit="window.open('',this.target, 'menubar=no,resizable=no,....,status=no');return true;">

   Wolfgang



__________________________________ Do you Yahoo!? Meet the all-new My Yahoo! - Try it today! http://my.yahoo.com




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to