RE: open new window from struts page, leaves [object] in parent w indow

2004-02-18 Thread Martin Alley
Thanks Domingo, that fixed it! Martin -Original Message- From: Domingo A. Rodriguez S. [mailto:[EMAIL PROTECTED] Sent: 18 February 2004 21:05 To: Struts Users Mailing List Subject: RE: open new window from struts page, leaves [object] in parent w indow Use javascript:var handle

RE: open new window from struts page, leaves [object] in parent w indow

2004-02-18 Thread Domingo A. Rodriguez S.
Use javascript:var handle= window.open(..) instead of javascript:window.open(..) Regards Domingo A. Rodriguez S. --- "Gopalakrishnan, Jayesh" <[EMAIL PROTECTED]> escribió: > This is more of a javascript issue than Struts thing. > > I guess you are missing a "return false;" at th

RE: open new window from struts page, leaves [object] in parent w indow

2004-02-18 Thread Gopalakrishnan, Jayesh
This is more of a javascript issue than Struts thing. I guess you are missing a "return false;" at the end of the javascript. Try the script on a simple html page & verify that it works as expected. I have seen such links use the onclick event rather than the href, like, possibly to preven