Solved

Classic ASP  - how to open a link in new window?

Posted on 2008-10-10
4
344 Views
Last Modified: 2012-05-05
Hello Experts,
This is a really simple question, but I can't find anything on google (probably not looking for the right thing)

I have a classic asp application.
Have a string which is a url. On button click call for a function which among other thing forwards the page to the url.
How can I open a new browser window from javascript with the url I have?

Thank you,
0
Comment
Question by:vvvlad42
  • 2
  • 2
4 Comments
 
LVL 142

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 22686198
use the "target" property of the a href.
<a target="_blank" href="url">title</a>

Open in new window

0
 

Author Comment

by:vvvlad42
ID: 22686245
Hello angelIII,
I think you didn't read my question...
Thank you for your reply
0
 
LVL 142

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 500 total points
ID: 22686260
0
 

Author Comment

by:vvvlad42
ID: 22686280
:)
This time you did!!!
Thank you very much!
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Performance for Office 365 6 48
Passing Parameter to Stored Procedure 4 24
If condition on Html with Asp 11 17
Html Table looping 4 9
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
This article discusses how to create an extensible mechanism for linked drop downs.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

777 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