Answers for "jquery add and remove disabled attribute"

5

jquery remove disabled property from button

$('#edit').click(function(){ // click to
            $('.inputDisabled').attr('disabled',false); // removing disabled in this class
 });
Posted by: Guest on September-14-2020
0

how to remove disable from input onclick

<script type="text/javascript">
    $(function() {
        // disable all the input boxes
        $(".input").attr("disabled", true);

        // add handler to re-enable input boxes on click
        $("td:has(.input)").click(function() {
            $(".input", this).removeAttr("disabled");
        });
    });
</script>
Posted by: Guest on May-19-2020

Code answers related to "jquery add and remove disabled attribute"

Code answers related to "Javascript"

Browse Popular Code Answers by Language