How to Remove Disabled Attribute by JQuery?

Remove Disabled Attribute by JQuery, Remove Disabled Attribute Using JQuery

remove-disabled-attribute-by-jquery.html

<!DOCTYPE html>
<html>
<head>
<script src="https://code.jquery.com/jquery-git.js"></script>
<meta charset="utf-8">
<title>How to Remove Disabled Attribute by JQuery?</title>
</head>
<body>
<input type="checkbox" class="disabledboxes" disabled>Red
<input type="checkbox" class="disabledboxes" disabled="disabled">Green
<p><input id="button1" type="button" value="Click to enable check boxes"/></p>
</body>

<script>
$(document).ready(function(){ 
$('#button1').click(function(){ 
$('.disabledboxes').prop("disabled", false);
});
});
</script>

</html>