lovetr
asked on
How do I make this open in a new window when clicked?
Have a local dumbed down user interface for a database. When a user clicks the client's name, the link opens up the full blown database application. Unfortunately, it opens in the same window thus replacing my 'dumb' interface. How can I make it open the full blown application in a new web page?
I need my form target to be "_SO" to drill into the database properly, so I can't use _blank.
I tried putting _blank as the target of <a>, but the result is it opens up my dumb interface in a new page (losing the currently displayed client information) while my original page is replaced with the full blown application.
I need my form target to be "_SO" to drill into the database properly, so I can't use _blank.
I tried putting _blank as the target of <a>, but the result is it opens up my dumb interface in a new page (losing the currently displayed client information) while my original page is replaced with the full blown application.
nsv_cell1.innerHTML=" <form name='"+nsv_formname+"' action='https://smartoffice.client.com/cdsApp?trustedWindow=1&_pageno=3&Module=DeepLink&Object=Contact&Operation=View&Data="+nsv_contact_id+"&OBO=' method='POST' target='_SO'><input name='Office' type='hidden' value='"+nsv_nslon+"'/><input name='User' type='hidden' value='"+nsv_nslun+"'/><input name='Pwd' type='hidden' value='"+nsv_nslp+"'/><a href='#' onclick=nsf_sendUserDetails('"+nsv_formname+"') ><b>"+nsv_nameInfo+"</b></a>"+nsv_extraInfo+"";
ASKER
thx...but I can't seem to figure out where to place window.open to accomplish my goal.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
http://www.pageresource.com/jscript/jwinopen.htm