title: how to call function from other function in jquery
body: <p>I have some functions like php class</p>
  
  <pre><code>    var myclass = function(){
      function func1(){
          //ragaca
      }
      function func2(){
  
      }
  };
  </code></pre>
  
  <p>I need to call func2 function from outside
  I googled and find some functions
  e.x. .live or .trigger
  but no one working</p>
  
  <p>please help me.</p>