Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How do I make this open in a new window when clicked?

Posted on 2008-06-10
3
Medium Priority
?
149 Views
Last Modified: 2010-04-16
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.


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+"";

Open in new window

0
Comment
Question by:lovetr
  • 2
3 Comments
 
LVL 10

Expert Comment

by:margajet24
ID: 21756726
0
 

Author Comment

by:lovetr
ID: 21762014
thx...but I can't seem to figure out where to place window.open to accomplish my goal.
0
 
LVL 10

Accepted Solution

by:
margajet24 earned 2000 total points
ID: 21766199
put it inside  "onclick" so that when the user clicks on the name, it will open a window instead of updating the current page
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
In threads here at EE, each comment has a unique Identifier (ID). It is easy to get the full path for an ID via the right-click context menu. However, we often want to post a short link within a thread rather than the full link. This article shows a…
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).
Suggested Courses

972 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question