- dojo.xhrGet( {
- // The following URL must match that used to test the server.
- url: "/eow/update",
- handleAs: "javascript",
- //handleAs: "text",
-
- timeout: 30000, // Time in milliseconds
-
- // The LOAD function will be called on a successful response.
- load: function(response, ioArgs) {
- console.log(response);
- return response;
+ $.ajax({
+ url: "/eow/update",
+ dataType: "script",
+ success: function(data, textStatus) {
+ console.log(textStatus + " " + data);