jQuery UI Widgets Forums Editors Button, RepeatButton, ToggleButton, LinkButton Adding class name after button disable is not working

This topic contains 1 reply, has 2 voices, and was last updated by  ivailo 8 years, 8 months ago.

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

  • raj
    Participant

    Hi,

    I’ve a button which contains icon & label. I achieved it using CSS class name. Lets say “Add User” and it will be like plus symbol & label as follows,

    <input type="button" value="Add User" id="addUser" name="addUser" class="icon-add" />

    Output:
    + Add User

    There are cases where I disable the button when page loads and enable it after some logic condition satisfied. When I disable the button, whatever the custom class name given is getting removed. I noticed that there are new class names added for disable styling. I tried the following approach but it didn’t helped me

    For example:

    $("#addUser").jqxButton({disabled:true);
    $("#addUser").addClass("icon-add");

    Can someone help me how to achieve?

    Looking for swift response.

    Regards,
    Raj


    ivailo
    Participant

    Hi raj,

    Send a fiddle with more of your functionality for analyze.
    From this part of code we can’t simulate that type of behavior.

    Best Regards,
    Ivailo Ivanov

    jQWidgets Team
    http://www.jqwidgets.com

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

You must be logged in to reply to this topic.