Pablo.get(url, callback)

Loads an external file via an Ajax request and passes it to the callback function.

The callback is passed two arguments: 1) the text contents of the reponse and 2) the XMLHttpRequest object used to load the file. Within the callback, the this object will be the XMLHttpRequest object.

Pablo.get('mary.txt', function(text){
Painting is just another way of keeping a diary.
Pablo Picasso