0 Replies Latest reply on Apr 22, 2008 8:34 AM by urswag

    Javascript varialbe resovle

    urswag


      In JSP I have to use a Javascript

      var Var${varId};

      Also in JSP I call the JS function callVar(${varId});

      How can I resolve now the variable in the function body.

      functon callVar(varId) {

      -- I need here the reference to Var${varId}
      -- I know the name of the variable 'Var' + ${varId} in the
      -- function body. But how can I now resolve the
      -- external variable instance?

      }