Learn free online HTML5, javascript, and jquery Tutorials by Examples

Sunday 21 December 2014

How to disable any controls using jQuery

<input type="button" value="satish" />
<script>
    $(document).ready(function(e) {
        $('input:button').prop("disabled", true);
    });
</script>

No comments:

Post a Comment