[CODE=javascript]function ajaxFunction() {

var xmlHttp;
xmlHttp = new XMLHttpRequest( );
xmlHttp.open("G ET","./currentActivity Report.do?actio n=RefreshCurren tActivity&"+par ameter,true);
xmlHttp.onready statechange=fun ction() {

if(xmlHttp.read yState==4) {

var myspan = document.getEle mentById('myspa n');
...