title: how to call function in jquery from javascript
body: <pre><code>&lt;script type="text/javascript" src="jscripts/jquery.js"&gt;&lt;/script&gt;
  
  &lt;script type="text/javascript"&gt;
  $(document).ready(function(){
  alert("funciton");
      $(function(){
          $.fn.gotof(){
              alert("I am calling form jquery");
          }           
      });
  });
  &lt;/script&gt;
  
  
  &lt;input type="button" onclick="dofunc();"&gt;
  
  &lt;script type="text/javascript"&gt;
      function dofunc(){
          gotof();
      }
  &lt;/script&gt;
  </code></pre>
  
  <p>how do i call <code>gotof()</code> that is present in jquery
  and below is the code written over <a href="http://jsfiddle.net/pSJL4/5/" rel="nofollow">jsfiddle</a></p>