title: jQuery hotkeys calling function
body: <p>I use this jquery <a href="https://github.com/tzuryby/jquery.hotkeys" rel="nofollow">https://github.com/tzuryby/jquery.hotkeys</a> for hotkeys.</p>
  
  <p>Please, how i can call this "add" fucntion:</p>
  
  <pre><code>&lt;script type = "text/javascript" &gt;
      function add(int) {
          if (window.XMLHttpRequest) {
              xmlhttp = new XMLHttpRequest();
          } else {
              xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
          }
          xmlhttp.onreadystatechange = function() {
              if (xmlhttp.readyState == 4 &amp;&amp; xmlhttp.status == 200) {
                  document.getElementById("add").innerHTML = xmlhttp.responseText;
              }
          }
          xmlhttp.open("GET", "method.php?a=" + int, true);
          xmlhttp.send();
      } 
  &lt;/script&gt;
  </code></pre>
  
  <p>For example, i need call add javasctipt, not alert:</p>
  
  <pre><code>&lt;script src="jquery-1.4.2.js"&gt;&lt;/script&gt;
  &lt;script src="jquery.hotkeys.js"&gt;&lt;/script &gt;
  
  &lt;script&gt; 
      $(document).bind('keydown', 'ctrl + k', function() {
         alert('Teskt hotkey!'); 
         // I need processing javasctipt named "add", not alert
      });
  &lt;/script&gt;
  </code></pre>