Skip to content

By click the label checkbox should display

Deepak Ratan

Deepak Ratan

Asked Jul 8, 2015, 3:11 AM EDT1 answer
Share
LinkedInX
Hi,
     By clicking the label   5 checkbox should display? and by clicking the same label  5 checkbox should hide
it is possible in javascript? 

1 Answer

Know the answer? Post it. Somebody with the same question will find it here.

  • 0
    <script type=text\javascript>
    Code
    function check()
    {
    if(lbl.click()){
    chkbx.checked==true;
    }
    else{
    chkbx.checked==false;
    }
    }
    <script>
     
    call the above function in label
    0