Comment

Quiquelie

Hi,

Try this:

var closer = document.createElement('a');
a.style.float="left";
a.style.fontWeight="bold";
a.onclick = function() { ...

It works on all browsers !! Enjoy it !!

Replies

ramesh

Hi Quiquelie,
Your code is cool thanks :) i was literally searching for onclick cross browser functionality