title: scope issue Uncaught ReferenceError
body: <p>I currently have a JS Function that looks like so:</p>
  
  <pre><code>&lt;JQUERY IS INCLUDED HERE&gt;
  &lt;script type="text/javascript"&gt;
      var ll = jQuery.noConflict();
      function tongle_bill_address(hide){
          if(hide){
              ll('#popUpDiv').hide();
              ll('#blanket').hide();
          }
          else{
              ll('#popUpDiv').show();
              ll('#blanket').show();
          }
      }
  &lt;/script&gt;
  </code></pre>
  
  <p>And further down the page I have:</p>
  
  <pre><code>&lt;input name="billingSameAsShipping" value="no" id="radioTwo" onchange="tongle_bill_address(0);" type="radio"/&gt;
  </code></pre>
  
  <p>Now I am well aware of simply doing something like <code>$('#ELEMENT_ID').click(function(){});</code> and even how to use <code>.toggle()</code> However I am still confused as to why I am outside of the scope with trying to call this function via <code>onchange</code>?</p>
  
  <p>Final Error Message:</p>
  
  <pre><code>Uncaught ReferenceError: tongle_bill_address is not defined 
  </code></pre>