Sha256: a6a59239e5fb1f3d4048b3289ffb619e2a36567b1a4fded40f189a59342ea571

Contents?: true

Size: 555 Bytes

Versions: 1

Compression:

Stored size: 555 Bytes

Contents

function check(n) {
  document.getElementById("client-" + n).innerHTML = 
    '<img src="/images/busy.png" class="em1"/>';
  var req = new XMLHttpRequest();
  req.open("GET", "/client/check?id=" + n);
  req.onreadystatechange = function() {
    if (req.readyState == 4) {
      document.getElementById("client-" + n).innerHTML = req.responseText;
    }
  }
  req.send(null);
  return false;
}

function check_through(n) {
  for (i=1; i<=n; i++) {
    check(i);
  }
  return false;
}

function js_hide() {
  document.getElementById("js").innerHTML = "";
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bacuview-1.5 public/javascripts/client_check.js