`onclick` event not called when element clicked with Internet Explorer 9

groomfedmek

New Member
This solution does not work for IE9.I have the following code:\[code\]$(document).ready(function() { document.getElementById('unsubref').onclick = function() {unsubcribe();}; });\[/code\]and unsubref is:\[code\]<div id="unsub"><h1>Click <a id="unsubref">here</a> to unsubscribe from the mailing service</h1></div>\[/code\]in Chrome, it works just fine. The function \[code\]unsubscribe\[/code\] is being invoked with alert.However, in IE9 it does not work!
 
Top