A HREF URL won't work

Posted by user3586248 on Stack Overflow See other posts from Stack Overflow or by user3586248
Published on 2014-08-25T04:13:37Z Indexed on 2014/08/25 4:20 UTC
Read the original article Hit count: 96

Filed under:
|

I am trying to get the following link to work.

<a href='#' onclick='window.open(" | &ESPP_Info_URL | ");return false;'>Employee Stock Purchase Plan Information</a>

Basically the &ESPP_Info_URL variable takes in a url so that the code below looks like...

<a onclick="window.open(https://...);return false;" href="#">Employee Stock Purchase Plan Information</a>

But when I click the url it just refreshes the page. Does anyone know how to get this to access the link within the window.open function?

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about html