Answers for "when checkbox checked show the input tag on yii2"

0

when checkbox checked show the input tag on yii2

<script>
function myFunction() {
    var checkBox = document.getElementById("myCheck");
    var text = document.getElementById("hiddenDiv");
    if (checkBox.checked == true){
        text.style.display = "block";
    } else {
       text.style.display = "none";
    }
}
</script
Posted by: Guest on August-27-2021

Code answers related to "when checkbox checked show the input tag on yii2"

Browse Popular Code Answers by Language