0 Replies Latest reply on Jan 11, 2009 1:47 AM by craig_mac

    cfajax javascript

    craig_mac Level 1
      Hi i am testing out cfajax and i come up against a problem, i have commented out what i need to do below

      function getNBADivisionStanding(GroupId)
      {
      //i need to set a public property here GroupId
      DWREngine._execute(_cfscriptLocation, null, 'nbadivisionstanding33', GroupId, NBADivisionStandingResult);
      }
      function NBADivisionStandingResult(teams)
      {
      //i need to access the public property here GroupId - so g2787 below will then become GroupId
      // i also need to removeAllRows from any element id starting with "g".
      DWRUtil.removeAllRows("g2787");
      DWRUtil.addRows("g2787", teams, [ getState, getWon, getLost ])
      }