title: jquery call function by name
body: <p>i have function</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
      $(function () {
          $("#search").click(function() {
              var text = $("#searchText").val();
              $.getJSON("Search", { world: text, filter: text }, function(data) {
                  $("tr.DataRow").toggle(false);
                  for (i = 0; i &lt; data.length; i++) {
                      $("#obj" + data[i]).toggle(true);
                  }
              });
          })            
      });
  
  
  &lt;/script&gt;
  </code></pre>
  
  <p>now i have another function</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
  
      $(function() {
          $('#searchText').bind('keypress', function(e) {
              if (e.keyCode == 13) {
  
              }
          });
      });
  &lt;/script&gt;
  </code></pre>
  
  <p>how can i call first function from second function?</p>