title: How can I locate and view Javascript that's being used on a page?
body: <p>How can I locate and view specific Javascript that's being used on webpage?</p>
  
  <p>For example, let's say I'm looking over a page's source, and I find an element like this:</p>
  
  <pre><code>&lt;img border="0" alt="" onmouseout="hidetrail();" 
  onmouseover="showtrail('image1.jpg',225);" 
  src="image2.jpg"&gt;&lt;/img&gt;
  </code></pre>
  
  <p>...how could I then locate and view the specific Javascript/AJAX that provides/implements the functionality contained within that tag? In other words, where would I typically find "hidetrail()" and "showtrail()" defined?</p>
  
  <p>Is there a process to finding this with a tool like Firebug?</p>