Login   Register  
Icontem

File: example/asynchronous.html

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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:
Date: 2013-02-03 16:33
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>