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