This topic contains 1 reply, has 2 voices, and was last updated by  Nadezhda 9 years, 4 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • jqxButtons and loop #66230

    Mysticol
    Participant

    Hi,

    im using a loop (in a shell script) to setup some jqxButtons :

    for (i=1; i<50; i++) {
    \$(‘.btn-nomm’ + i ).click(function (){
    \$(‘#jqxNavigationBar2’).jqxNavigationBar({ expandedIndexes: [i] });
    \$(‘#jqxTabs’).jqxTabs(‘select’, 1);
    });
    }
    The first ‘i’ is well interpreted but i got an issue with ‘expandedIndexes: [i]’ which is not recognized. I guess it is because it is in the click function. Any ideas how i could make this working ?

    Best regards,

    jqxButtons and loop #66234

    Nadezhda
    Participant

    Hello Mysticol,

    Please, provide us with more information about your functionality.

    Best Regards,
    Nadezhda

    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.