File: example/asynchronous.html

Recommend this page to a friend!
  Classes of Pierre-Henry Soria   AJAPH   example/asynchronous.html   Download  
File: example/asynchronous.html
Role: Example script
Content type: text/plain
Description: Auxiliary data
Class: AJAPH
Send AJAX request and process the responses
Author: By
Last change: Improved and bug fixes
Date: 2 years ago
Size: 516 bytes
 

Contents

Class file image Download
<!DOCTYPE html> <html> <meta charset="utf-8" /> <title>Example for the AJAPH JavaScript Class - Asynchronous</title> <meta name="description" content="This class makes use of Ajax easier" /> <meta name="keywords" content="javascript,ajax,class" /> <body> <h1>Example AJAPH - Asynchronous</h1> <div id="ajax"></div> <script src="../AJAPH.js"></script> <script> (new AJAPH).send("GET", "asyn_data.txt", null, true).setLoadImage("loading.gif").getLoadImage("ajax").setResponseHtml("ajax"); </script> </body> </html>