title: How to access the inner function's variable from outer function with jQuery?
body: <p>I have saw access function from inside to outside, but I can not find an exact answer on how to access inner functions's variable from outer function <strong>with JQUERY, not javaScript</strong>.</p>
  
  <p>I have code below</p>
  
  <pre><code>$(document).ready(function(){
      var outv=1;
      function innerfunc(){
          var innerfuncv=2;
          var outv=3;
          alert(outv);
  
      };
      alert(outv);
      innerfunc();
      alert(outv);
      alert(innerfunc.outv);
  
  
  
  });//$(document).ready(function() END
  </code></pre>
  
  <p>Please help. Thanks! Let me know if there is more info needed.</p>