Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 03-17-2009, 05:29 PM   PM User | #1
jmohan
New Coder

 
Join Date: Apr 2008
Posts: 47
Thanks: 0
Thanked 0 Times in 0 Posts
jmohan is an unknown quantity at this point
Exclamation Using Hyper links in Pop up window

Hi everyone,

I need to create a pop up window with hyper link using javascript. while clicking on the hyperlink in pop up window, a new window should be opened. How can I do this. How to use hyper links in pop up window using javascript. I tried a lot.

when I click on the link in popup window, the new window is not opened.

Please help me.


Thanks in Advance,

J. Mohan
jmohan is offline   Reply With Quote
Old 03-17-2009, 05:32 PM   PM User | #2
Eldarrion
Regular Coder

 
Join Date: Feb 2009
Location: Wheeling, IL
Posts: 358
Thanks: 5
Thanked 62 Times in 60 Posts
Eldarrion is on a distinguished road
Does the link in the pop-up also need to use JavaScript? Because if not....

Code:
<a href="http://www.google.com" target="_blank">Googly</a>
Should definitely open the link in a new window. Enjoy.
__________________
The way to success is to assume that there are no impossible things. After all, if you think something is impossible, you will not even try to do it.

How to ask smart questions?
Eldarrion is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 04:19 AM.


Advertisement
Log in to turn off these ads.