Tagged: ,

This topic contains 1 reply, has 2 voices, and was last updated by  Dimitar 11 years, 1 month ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Chaining Posts
  • Chaining #21306

    rskbuvan
    Spectator

    Hi,

    Like jQuery Chaining, is there a same way in jqWidgets?

    For Example:

    $(‘.ClassName’).addClass(‘NewClassName’);
    $(‘.ClassName’).removeClass(‘OldClassName’);

    It can be simplified as below,
    $(‘.ClassName’).addClass(‘NewClassName’).removeClass(‘OldClassName’);

    Like the above example, is there a way to do the same in jqWidgets?

    For Example:

    $(‘#TabsWidget’).jqxTabs(‘enable’);
    $(‘#TabsWidget’).jqxTabs(‘select’,0);

    Instead writing two lines, can we able to merge in to one like chaining since I’m applying 2 methods for the same TabsWidget.

    Looking for solution.

    Regards,
    \_rssb

    Chaining #21316

    Dimitar
    Participant

    Hello rssb,

    Unfortunately, chaining is not supported by jQWidgets.

    Best Regards,
    Dimitar

    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.