JQuery: Submiting data without the need of pressing the submit button?
<pre><code>$(function(){
   $("input[type=text]").keypress(function(){
        $("#loader").load("saveinputtodatabase.php", {...});
   });
});
</code></pre>

<p>This works fine on my code. It saves data on the database everytime the user types something on the input. But I know this isnt fair to the server because it will load many the same file many times, thus causing bandwidth to be used more than it should.</p>

<p>How can I make it load "saveinputtodatabase.php" only if 10 seconds has passed since the user has pressed a key?</p>
