jQWidgets Forums

This topic contains 3 replies, has 2 voices, and was last updated by  Peter Stoev 11 years, 4 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • LinkButton & Theme problem #31490

    alme
    Participant

    Hi,

    if I create a LinkButton like this

    $("#button_go").jqxLinkButton({ width: '100', height: '30', disabled: false, theme: 'energyblue' });

    everything works fine, but if I create it disabled and later I enable it, it doesn’t get the Theme css.

    Example:

    <script type="text/javascript">
    $(document).ready(function () {
    $("#button_go").jqxLinkButton({ width: '100', height: '30', disabled: true, theme: 'energyblue' });
    $('#button_go').jqxButton({disabled: false });
    });
    </script>
    <body class='default'>
    <div style="margin-top: 30px;">
    <a style='margin-left: 25px;' target="_blank" href="http://www.jqwidgets.com" id='button_go'>Go</a>
    </div>
    </body>

    Thanks

    LinkButton & Theme problem #31505

    Peter Stoev
    Keymaster

    Hi alme,

    If you initialize it like a LinkButton, then you should set its properties like a LinkButton. I mean that $(‘#button_go’).jqxButton({disabled: false }); should be: $(‘#button_go’).jqxLinkButton({disabled: false });

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    LinkButton & Theme problem #31507

    alme
    Participant

    Hi,

    yes, I tried that also but I got the same result.

    Thanks

    LinkButton & Theme problem #31536

    Peter Stoev
    Keymaster

    Hi alme,

    Thanks for the feedback. That would be resolved in the next version.

    Best Regards,
    Peter Stoev

    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.