File: example/synchronous.html

Recommend this page to a friend!
  Classes of Pierre-Henry Soria  >  AJAPH  >  example/synchronous.html  >  Download  
File: example/synchronous.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: 10 months ago
Size: 514 bytes
 

Contents

Class file image Download
<!DOCTYPE html>
<html>
<meta charset="utf-8" />
<title>Example for the AJAPH JavaScript Class - Synchronous</title>
<meta name="description" content="This class makes use of Ajax easier" />
<meta name="keywords" content="javascript,ajax,class" />
<body>

<h1>Example AJAPH - Synchronous</h1>
<div id="ajax"></div>

<script src="../AJAPH.js"></script>
<script>
(new AJAPH).send("GET", "syn_data.txt", null, false).setLoadImage("loading.gif").getLoadImage("ajax").setResponseHtml("ajax");
</script>

</body>
</html>