Changeset 14121 for trunk/FACT++/www/smartfact/index.js
- Timestamp:
- 06/08/12 17:02:06 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/www/smartfact/index.js
r14105 r14121 29 29 function onload() 30 30 { 31 try { var dummy = new XMLHttpRequest(); } 31 try 32 { 33 var xmlLoad = new XMLHttpRequest(); 34 xmlLoad.open('POST', "index.php?load", true); 35 xmlLoad.onload = function() 36 { 37 if (xmlLoad.status!=200) 38 { 39 //alert("ERROR[0] - HTTP request '"+xmlLoad.statusText+" ["+xmlLoad.status+"]"); 40 return; 41 } 42 if (xmlLoad.responseText.length>0) 43 alert(xmlLoad.responseText); 44 }; 45 xmlLoad.send(null); 46 } 32 47 catch(e) 33 48 {
Note:
See TracChangeset
for help on using the changeset viewer.