jQuery UI Widgets Forums General Discussions Disable controls

This topic contains 5 replies, has 4 voices, and was last updated by  Peter Stoev 9 years, 10 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
  • Disable controls #49618

    Siva
    Participant

    Hi,

    In one situation, i want to disable all the controls(dropdown, button, radio, checkbox) which are in my web pages. Is there any common code for disable/enable?

    Please reply, Thanks in advance.

    Disable controls #49626

    Dimitar
    Participant

    Hello Siva,

    Unfortunately, there is no such method. To enable/disable all controls, you would have to call each one’s enable/disable method. Note, however, that some widgets (such as jqxButton) do not have such methods. Their state is controlled by their disabled property.

    Best Regards,
    Dimitar

    jQWidgets team
    http://www.jqwidgets.com/

    Disable controls #49657

    Siva
    Participant

    Is there any way to get the controls name(buttons, checkbox, option, slider, dropdown) by using the Div id?

    Disable controls #49658

    Dimitar
    Participant

    Hi Siva,

    Unfortunately, there is no way to do this.

    Best Regards,
    Dimitar

    jQWidgets team
    http://www.jqwidgets.com/

    Disable controls #66812

    gio
    Participant

    Hi Dimitar,
    is there any new feature in the library that covers the situation described by Siva? (…”i want to disable all the controls(dropdown, button, radio, checkbox) which are in my web pages”….)

    Thanks in advance.
    Best regards,
    Giovanni

    Disable controls #66813

    Peter Stoev
    Keymaster

    Hello Giovanni,

    There is disabled property which you may simply set to any widget if you want to disable it.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

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

You must be logged in to reply to this topic.