Answers for "how to remove disable from input onclick"

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 "how to remove disable from input onclick"

Browse Popular Code Answers by Language