run function at ready and keyup event
<p>Is there another in jquery to run a function at page load and at a keyup event instead of the way I'm doing it?</p>

<pre><code>$(function() { 
  totalQty(); 
  $("#main input").keyup(function() { 
    totalQty(); 
  }); 
});
</code></pre>
