Disable Button - Jquery

How to disable button using jquery

Snippet Code


  
Rate this page :
  [ 0 votes]

Here the attribute "disable" is used to disable the button.

$(document).ready(function(){ $('#continue').attr("disabled", "disabled");//To disable button. }); <input id="continue" type="button" value="Click" id='continue'/>

Tags


Ask Questions

Ask Question