CGI-JSONRPC

 view release on metacpan or  search on metacpan

lib/CGI/JSONRPC/Base.js  view on Meta::CPAN

      if (this.onreadystatechange) {
        this.onreadystatechange();
      }
    };
    this.send = function(data) {
      if (!navigator.javaEnabled()) {
        alert("XMLHttpRequest.send() - Java must be installed and enabled.");
        return;
      }
      if (this._async) {
        setTimeout(this._sendasync, 0, this, data);
        // this is not really asynchronous and won't execute until the current
        // execution context ends
      } else {
        this._sendsync(data);
      }
    }
    this._sendasync = function(req, data) {
      if (!req._aborted) {
        req._sendsync(data);
      }



( run in 0.234 second using v1.01-cache-2.11-cpan-4d50c553e7e )