Solved

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

Posted on 2008-10-10
4
322 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]
Comment Utility
use the "target" property of the a href.
<a target="_blank" href="url">title</a>

Open in new window

0
 

Author Comment

by:vvvlad42
Comment Utility
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
Comment Utility
0
 

Author Comment

by:vvvlad42
Comment Utility
:)
This time you did!!!
Thank you very much!
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

I would like to start this tip/trick by saying Thank You, to all who said that this could not be done, as it forced me to make sure that it could be accomplished. :) To start, I want to make sure everyone understands the importance of utilizing p…
JavaScript can be used in a browser to change parts of a webpage dynamically. It begins with the following pattern: If condition W is true, do thing X to target Y after event Z. Below are some tips and tricks to help you get started with JavaScript …
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…

762 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now