Protoload: Ajax Loading

Andreas Kalsch has written a simple library, Protoload, that handles the Ajax loading events that are common place as a way to show users that something is happening on the server, in a particular location:

E.g. a faw XHR example:
PLAIN TEXT
JAVASCRIPT:

 

 

var R = new XMLHttpRequest();

R.onreadystatechange = function() {

  if (R.readyState == 4) {

    // Do [...]

More: continued here

Leave a Reply

You must be logged in to post a comment.

Bad Behavior has blocked 1810 access attempts in the last 7 days.