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?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…