|
非同期的にサーバに画像位置を通知
|
function sendposition(el) {// CGI呼び出しxmlhttp.open("GET", "setpos.cgi?image=" + el +"&x=" + getLEFT(el) + "&y=" + getTOP(el),true);// 完了時のコールバック定義xmlhttp.onreadystatechange=function() {if (xmlhttp.readyState==4) {dummy = xmlhttp.responseText}}xmlhttp.send(null)