4 Replies Latest reply on Aug 17, 2007 7:07 PM by aceinc

    Executing a referenced function

    aceinc
      I would like to execute one of many functions based on a string passed from an external data source. I could of course, write a massive switch/case statement but I would prefer something more elegant.

      What would be loverly is something like;

      var menuFunction = eval(event.item.@value);
      menuFuction();

      But I believe this is impossible as of v 3.0.

      Anybod got any great ideas?

      Paul