I have abutton in my page and I want to disable it. Is there a way to do it? my code is as follows
<script type="text/javascript"> $(document).ready(function() { var myButton = $(this, "input[type='button']"); $(myButton).attr("disabled", "true"); }); </script> <input id="create" class="button" type="button" >