Quantcast
Channel: Internet Explorer Web Development forum
Viewing all articles
Browse latest Browse all 3527

Hyperlink with javascript function

$
0
0

I am creating a hyperlink with a call to a javascript function:

<a style="text-decoration:underline;cursor:pointer" target="_blank" href="javascript:goToStateNewWindow('trending', '{projectId:2313,alarmsOnly:true}')">test</a>

It works fine in Chrome, but in IE I get this:

javascript:goToStateNewWindow('trending', '{projectId:2313,alarmsOnly:true}') in the address bar and

This page can’t be displayed

Is there a different format for what I am trying to do?

Thanks


Viewing all articles
Browse latest Browse all 3527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>