title: Uncaught ReferenceError: 'functionName' not defined
body: <p>So I have checked my script tags in my .jsp file:</p>
  
  <pre><code>&lt;script type="text/javascript" src="javascript/jquery-1.3.1.min.js"&gt;&lt;/script&gt;
  
  &lt;script language="JavaScript" &gt; "some content here ...." &lt;/script&gt;
  </code></pre>
  
  <p>and below in the same .jsp file I have a tag:</p>
  
  <pre><code>&lt;body BGCOLOR="white" text="black" link="blue" vlink="red" onLoad="functionName();enableBackButton();"&gt;
  </code></pre>
  
  <p>However, in my JavaScript file I have:</p>
  
  <pre><code>$(document).ready(function(){
  $('current').click(function(event){
  
      function functionName() { ....... }
  </code></pre>
  
  <p>Somehow I keep getting an error in my Chrome console stating:</p>
  
  <p><strong>Uncaught ReferenceError: functionName is not defined</strong> </p>