Follow the below code to add / edit disabled attribute in input tag.
//Add disabled attribute
$("input").prop("disabled", true);
//Remove disabled attribute
$("input").prop("disabled", false);
Total Views: 3,081
Follow the below code to add / edit disabled attribute in input tag.
//Add disabled attribute
$("input").prop("disabled", true);
//Remove disabled attribute
$("input").prop("disabled", false);