jQuery UI Widgets Forums Editors CheckBox, RadioButton Enable/ Disable checked box

This topic contains 1 reply, has 1 voice, and was last updated by  nico86 9 years, 2 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Enable/ Disable checked box #78374

    nico86
    Participant

    Hello,
    I have many checkboxes that i would like disable with a button (#lock)
    This function disable all by checkbox but not enable with a second click

    Could you help me.
    THanks.

    `$(“#lock”).click(function()
    {
    var cond=$(‘#jqxCheckBox1’).jqxCheckBox(‘disabled’);

    if (cond=’false’)
    {
    $(“.jqxCheckBox”).jqxCheckBox({disabled: true});
    };
    else {
    $(“.jqxCheckBox”).jqxCheckBox({disabled: false});
    };
    });

    Enable/ Disable checked box #78376

    nico86
    Participant

    with (cond==false) of course, the function worhk fine.

    sorry

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.