In the IE developer (F12) console, I\'ve managed to get my pages to run without errors; all but one!
SCRIPT1002: Syntax error
mypage.php, line 1 ch
"WAIT... does IE9 not like
?? It seems thats the problem..?"
— Comment by Chud37
Yes, that is the problem. void is an operator, not a function. Use javascript:void 0
, javascript:void(0)
or #
. Even better, add event.preventDefault() to your function:
$('#donateButton').click(function(ev) {
ev.preventDefault();
alert('hello');
});