function ajaxget(next_feed) { var xmlHttpReq // Mozilla/Safari if (window.XMLHttpRequest) xmlHttpReq = new XMLHttpRequest(); // IE else if (window.ActiveXObject) xmlHttpReq = new ActiveXObject("Microsoft.XMLHTTP"); xmlHttpReq.open('GET', "feed_status.php&="+next_feed, true); xmlHttpReq.onreadystatechange = function() { if (xmlHttpReq.readyState == 4) ajaxprocess(xmlHttpReq.responseText); } } function ajaxprocess(ajax_text) { // The following just changes something on my webpage so I know its executed document.getElementById("text_2").innerHTML = "XXXXXXXXXXXXXXXX"; } Where feed_status.php is .... Kmotion