How can i disable all the"submit" buttons inside my asp.net mvc 3 using jquery
<p>I want to write a script that disable all the submit buttons when the user click on them, i wrote the following Jquery script that will be avilable on all the views , but it did not work:-</p>

<pre><code>$(document).ready(function () {
    $(":input[type=submit]").click({
        this.attr('disabled', 'disabled');

    });
})
</code></pre>

<p>So what is wrong wiht my code?
BR</p>
