All,
Could someone please look at this and tell me what's wrong... the function works properly in FireFox but in IE onmouseover it replaces the innerHTML. So the original html:
at in**@test.com Thank you for your consideration.
becomes
at mailto:in**@tes t.com:?SUBJECT= Request for additional information - Package id : /*JS var*/ Thank you for your consideration.
I know the problem is the @ sign because if I remove it the function works properly, but even encoding it doesn’t seem to work I get the same issue.
Any Help would be appreciated Thanks in advance - CES
XXXXXXXXXXXXXXX XX
function mailTO(sender){
document.getEle mentById('id_' + sender).setAttr ibute("href", "mailto:inf o" + "@" + "test.com:?SUBJ ECT=Request for additional information - Package id : ");
}
<a id="id_emailMe2 " class="noExpand Normal" href="#" onmouseover="ma ilTO('emailMe2' )">info@test.co m</a>