Add Disable Button On Submit In My JS
<p>How to include the JS disable button ON SUBMIT in below my code :</p>

<pre><code>$(document).ready(function(){

        $('#haps').bind("blur focus keydown keypress keyup", function(){recount();});
        $('input.button').attr('disabled','disabled');

        $('#hapsForm').submit(function(e){

            haps();

        });

    });
</code></pre>

<p>This I give the function to prevent double post.
So have an idea ?</p>

<p>Thank you</p>
