Hi,
So I'm writing some code to implement some ads via Admin > Setup > Advertising which is easy to do however when I add the onclick event to the code Xenforo just refuses to accept this and a pop up always appears saying "Ooops we ran into some problems please try again later, more info may be available in console".
So <a href="example.com">example</a> works no problem but.....
<a href="example.com" onclick="event();">example</a> just will not work at all. Why?
So I'm writing some code to implement some ads via Admin > Setup > Advertising which is easy to do however when I add the onclick event to the code Xenforo just refuses to accept this and a pop up always appears saying "Ooops we ran into some problems please try again later, more info may be available in console".
So <a href="example.com">example</a> works no problem but.....
<a href="example.com" onclick="event();">example</a> just will not work at all. Why?