title: ReferenceError: event is not defined in Firefox
body: <p>I am using this function:</p>
  
  <pre><code>$("#tooltip").animate({ left: event.clientX, top: event.clientY });
  </code></pre>
  
  <p>Its working on Chrome and IE but in Firefox I get this error:</p>
  
  <pre><code>ReferenceError: event is not defined $("#tooltip").animate({ left:
  event.clientX, top: event.clientY });
  </code></pre>
  
  <p>How can i solve this?</p>