4 Replies Latest reply on Jun 4, 2014 10:40 PM by hemanthR

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

    jamesfootlight Level 1

      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