0 Replies Latest reply on Mar 29, 2008 4:42 PM by

    Binding Failure


      This is odd.

      goal: pass cfc's simple result value back to caller page and set the page's
      hidden field of 'uid' with this value. In other words, bind cfc's simple result value to an element of the caller.

      method: cfajaxproxy, cfc and js class library
      js code snip:
      function Save(frm){
      var d = new doSave();
      d.setForm(frm);
      d.setHTTPMethod('POST')
      d.doSave(); // and return the inserted uid
      d.setCallbackHandler(passIdOn);
      }

      function passIdOn(id) {
      document.getElementById('uid').innertHTML = id;
      }

      problem:
      binding failed for both IE7 and FF2. Seems real odd for such a simple task.

      Thanks.

      P.S. bear in mind everything works fine save the setCallbackHandler part...