ReferenceError: event is not defined in Firefox
I am using this function:
$("#tooltip").animate({ left: event.clientX, top: event.clientY });
Its working on Chrome and IE but in Firefox I get this error:
ReferenceError: event is not defined $("#tooltip").animate({ left:
event.clientX, top: event.clientY });
How can i solve this?
No comments:
Post a Comment