4 Replies Latest reply: Jun 4, 2014 10:40 PM by hemanth kumar r RSS

    can anyone help me simplify this into a var or class? I'm quite new to this!

    jamesfootight Community Member

      sym.$("UKstandardbuttons").fadeToggle();

      sym.$("AUSstandardbuttons").fadeOut();

      sym.$("Hongkongstandardbuttons").fadeOut();

      sym.$("Switzerlandstandardbuttons").fadeOut();

      sym.$("Irelandstandardbuttons").fadeOut();

      sym.$("Indiastandardbuttons").fadeOut();

      sym.$("Japanstandardbuttons").fadeOut();

      sym.$("Netherlandsstandardbuttons").fadeOut();

      sym.$("Spainstandardbuttons").fadeOut();


      into a var or class? so i don't have to list similar code for each element (UKstandardbutton)'s action


      thanks!


      James