The most simple AJAX call in TiddlyWiki

When tagged system config this script loads the content of the .php file and displays it as an alert.

//{{{
function callback(status,params,responseText,xhr)
 {
 alert(responseText);
 }
var a = doHttp('GET', 'http://127.0.0.1/cctw_tw/cctiddly/handle/index.php',null,null,null,null,callback);
//}}}
Advertisements