Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Apr 2008
    Posts
    47
    Thanks
    0
    Thanked 0 Times in 0 Posts

    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

  • #2
    Regular Coder
    Join Date
    Feb 2009
    Location
    Wheeling, IL
    Posts
    358
    Thanks
    5
    Thanked 62 Times in 60 Posts
    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?


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •