evergreean43
Technical User
I am trying to show a cf variable in a mouseover event just in IE but it keeps giving me javascript error message in IE about "missing ;". If I take away the cf variable pound signs then there is not error message and the javascript browser sniffing works. But I need the pounds to grab my cf variable in JavaScript.
Please advise how I get the mouseover and cold fusion variable to work in javascript?
Please advise how I get the mouseover and cold fusion variable to work in javascript?
Code:
<a href="site.cfm" title="default message for the JavaScript free" onmouseover="this.title = navigator.appname == 'Netscape' ? 'netscape words here' : 'IE here #myvarhere#'">Link</a>