[ThinkIT] 第2回:サーバ用のスクリプトの例 (2/3)
function testAjax(callback_function, param1, param2) 
{
	var callback={php_function:callback_function};

	var obj = new php_class(callback);
	obj.timeout = 30000; //timeout msec

	window.status="Receiving data...";
	obj.php_function(param1, param2);
	window.status="Complete";
}