jQuery UI Widgets Forums Editors CheckBox, RadioButton CheckBox Disable/Enable Issue

This topic contains 3 replies, has 2 voices, and was last updated by  ivailo 3 years, 5 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • CheckBox Disable/Enable Issue #89739

    kdisarno
    Participant

    Peter, et al…

    I can’t for the life of me figure out why my checkbox is not enabling. After going through a thousand lines of JS, I created a fiddle to eliminate everything I’ve written and see if it works. To my surprise, it doesn’t!

    Can you point me in the right direction?

    JSFiddle

    Thanks!

    EDIT: Running v4.3.0

    • This topic was modified 3 years, 5 months ago by  kdisarno. Reason: For some reason the create-a-link widget thingy didn't put anything *inside* the 's?
    • This topic was modified 3 years, 5 months ago by  kdisarno. Reason: Added version
    CheckBox Disable/Enable Issue #89747

    ivailo
    Participant

    Hi kdisarno,

    The problem in your demo is the usage of a wrong selector.
    Please change $("jqxButton").on('click', function() to $("#jqxButton").on('click', function() an the code will work as expected.

    Best Regards,
    Ivailo Ivanov

    jQWidgets Team
    http://www.jqwidgets.com

    CheckBox Disable/Enable Issue #89751

    kdisarno
    Participant

    Ivailo, that was my bad. You’re correct.

    I guess I’ll go through everything on my end again. The selector is obviously not my issue: I’d be getting console errors, and the text is turning from gray to black when I do my enable (so I know something is working). For some reason the dang box part of the checkbox refuses to enable.

    CheckBox Disable/Enable Issue #89761

    ivailo
    Participant

    Hi kdisarno,

    Please, refer to this demo. It can be helpful for you.

    Best Regards,
    Ivailo Ivanov

    jQWidgets Team
    http://www.jqwidgets.com

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

You must be logged in to reply to this topic.