Auto submit form
<p>I want to automatically submit a form when you have filled in 4 numbers in the input.
I currently have just a basic html form:</p>

<pre><code>&lt;form action="send.php" method="POST"&gt;
   &lt;input type="number" maxlength="4"&gt;
&lt;/form&gt;
</code></pre>

<p>And now I want that if you reach the maxlength it automatically submits the form, so you do not have to hit enter or submit.
Is there any way to do this?</p>