Re: how to do dynamic search Programming Web Development by diafol xmlhttp.open("GET","getuser.php?q="+str+"&&k="+str,true); You should have xmlhttp.open("GET","getuser.php?q="+str+"&k="+str,true); Re: help me Programming Web Development by Luckychap xmlhttp.open("GET",url+'?city=' + selectedCity ,true); - is there … Re: Value in input feild from DB before Submit Programming Web Development by urtrivedi xmlhttp.open("GET","getmf.php?course="+str,… Re: How do I retrieve Javascript values from a Java servlet? (?Map?) Programming Web Development by Sammy@ xmlHttp.open("GET", "servlet", false); In doGet //try String input = request.getParameter("num1"); xmlhttp=GetXmlHttpObject(); passing multiple variables Programming Web Development by baseballfury …) { //Internet Explorer try { xmlHttp=new ActiveXObject("Msxml2.XMLHTTP"); } catch (e) { xmlHttp=new ActiveXObject("Microsoft.XMLHTTP"); } } return xmlHttp; } --------------------------------------------------------------------- i won't bother… XMLHTTP request Programming Web Development by ehpratah … IE6, IE5 xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange=function() { if (xmlhttp.readyState==4 && xmlhttp.status==200) { if (xmlhttp.responseText.trim()=="… Xmlhttp request not working in IE9? Programming Web Development by klemme … { xmlhttp = new ActiveXObject('Microsoft.XMLHTTP'); } catch (E) { xmlhttp = false; } } if(!xmlhttp && typeof XMLHttpRequest!='undefined'){ xmlhttp = new XMLHttpRequest(); } return xmlhttp; } function showUser(cat){ var xmlhttp=MakeRequestObject(); xmlhttp xmlhttp.readyState = 0 (why???) Programming Web Development by k2k xmlhttp.readyState ==4) { xmlhttp.onreadystatechange= displayDetail; xmlhttp.open("GET",url,true); xmlhttp.send(null); } else { status = xmlhttp…is working *******/ [code] var xmlhttp; function showShipment(shipmentIdFromDropDown) { xmlhttp=GetXmlHttpObject(); if (xmlhttp==null) { alert ("… xmlhttp.status=0. Apache on VMWare. What is the problem? Programming Web Development by arigasa ….xml", true); xmlhttp.onreadystatechange=function() { if(xmlhttp.readyState==4) alert("status " + xmlhttp.status); } xmlhttp.send(); [/CODE] It….xml", true); xmlhttp.onreadystatechange=function() { if(xmlhttp.readyState==4) alert("status " + xmlhttp.status); } xmlhttp.send(); [/CODE] It… Re: xmlHTTP respnse Programming Web Development by R0bb0b …, bodydatesid, adddep) { var xmlHttp = ajaxObject(); xmlHttp.onreadystatechange=function() { if(xmlHttp.readyState==4) { var schResults …quot;") { var xmlHttp = ajaxObject(); xmlHttp.onreadystatechange=function() { if(xmlHttp.readyState==4) { var responsestring = xmlHttp.responseText; var response =… Re: xmlhttp=GetXmlHttpObject(); passing multiple variables Programming Web Development by Hangfire …GetXmlHttpObject function with this one? [CODE] function GetXmlHttpObject(handler) { var xmlHttp=null; if (window.XMLHttpRequest) { //code for IE7+, Firefox, Chrome,… Opera, Safari xmlHttp = new XMLHttpRequest(); } else if (window.ActiveXObject) { //code for IE6,… Re: xmlhttp=GetXmlHttpObject(); passing multiple variables Programming Web Development by baseballfury …; ---then theres my show update function--- function showupdate(str) { xmlHttp=GetXmlHttpObject() if (xmlHttp==null) { alert ("Browser does not support HTTP Request…+="&sid="+Math.random(); xmlHttp.onreadystatechange=stateChanged; xmlHttp.open("GET",url,true); xmlHttp.send(null); } grateful for any … Re: xmlhttp=GetXmlHttpObject(); passing multiple variables Programming Web Development by Hangfire …;?p="+var2; url+="&sid="+Math.random(); xmlHttp.onreadystatechange=stateChanged; xmlHttp.open("GET",url,true… xmlhttp.open() target the same page Programming Web Development by mbarandao … {// code for IE6, IE5 xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange=function() { if (xmlhttp.readyState==4 && xmlhttp.status==200) { document.getElementById… Re: xmlhttp.open() target the same page Programming Web Development by mbarandao … {// code for IE6, IE5 xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange=function() { if (xmlhttp.readyState==4 && xmlhttp.status==200) { document.getElementById… Re: xmlhttp.onreadystatechange without user intervention Programming Web Development by lawrenceh …;Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange=function() { if (xmlhttp.readyState==4 && xmlhttp.status==200) { alert(xmlhttp.status); document.getElementById("NofP").innerHTML=xmlhttp.responseText; } } xmlhttp Re: xmlhttp.onreadystatechange without user intervention Programming Web Development by lawrenceh … {// code for IE6, IE5 xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange=function() { if (xmlhttp.readyState==4 && xmlhttp.status==200) { document.getElementById… Re: xmlhttp.open() target the same page Programming Web Development by Airshow Mbar, Try: [CODE=javascript] xmlhttp.open("GET", window.location.pathName+strss, true); [/CODE] [B]Airshow[/B] Re: xmlhttp.open() target the same page Programming Web Development by Airshow Mbar, Sorry, I was assuming that [ICODE]strss[/ICODE] was a ready-built querystring. Try: [CODE] var url = window.location.pathName + '?q=' + strss; alert(url);//to inspect the url string. xmlhttp.open("GET", url, true); [/CODE] [B]Airshow[/B] Re: xmlhttp.open() target the same page Programming Web Development by DrChocolate I am looking to open a URL in the same window. Does this code in the first response accomplish that task and, if so, would someone please fill in the window.location.pathName+strss with a literal example, say (hypothetically) for opening www.hope.com/child.htm xmlhttp.open("GET", window.location.pathName+strss, true); Thank you! xmlHttp.send Programming Web Development by johndoe444 … server using [ICODE]xmlHttp.open("POST", url, true); xmlHttp.onreadystatechange = handleStateChange; xmlHttp.setRequestHeader("Content-Type…"application/x-www-form-urlencoded;"); xmlHttp.send(xmlDoc);[/ICODE] How is the serverside php… field firstName. But in this case the xmlHttp is sending a text (xml) which is… xmlHTTP respnse Programming Web Development by servis how can we sent multiple values in xmlHTTP respnse, [ICODE] var xmlHttp function [B][COLOR="red"]callAjax(id)[/COLOR…{ document.getElementById("txtHint").innerHTML="" return } xmlHttp=GetXmlHttpObject() if (xmlHttp==null) { & so on.................... ................................ [/ICODE] i want… XMLHttp-- how to specify XML operation Programming Web Development by gurushankar … All, I have to test a wsdl. I am using XMLHttp object in VBscript. I have to specify an operation in… am not sure how i can do that. xmlObj=CreateObject(XMLHttp object) xmlObj.open "post",[U]ESDL File Location… WSDL file.. How to do i send an operation through xmlhttp. i am able to do it with webservice addin.. webservice… Re: xmlHTTP respnse Programming Web Development by R0bb0b …16 is a function that senses the changes in the xmlHttp object state and the if statement determines if the …status is successful or complete, xmlHttp.readyState==4 is what you are looking for. line 20… stores the xmlHttp.responseText data, which is just the output of the script… Re: xmlHttp.readyState 1 Programming Web Development by softDeveloper …="+secName+"&texto="+texto; xmlHttp.open("POST",url,true); xmlHttp.setRequestHeader("Content-type","application…/x-www-form-urlencoded;charset=UTF-8"); xmlHttp.setRequestHeader("Content-length", params.length… xmlHttp.readyState 1 Programming Web Development by softDeveloper I'm getting xmlHttp.readyState 1 when sending these parameters and it only happens …="+secName+"&text="+text; xmlHttp.open("POST",url,true); xmlHttp.send(url); [/CODE] Could you help me… XMLHTTP question Programming Web Development by jpgonc …=new XMLHttpRequest(); } else // IE6, IE5 { xhttp=new ActiveXObject("Microsoft.XMLHTTP"); } xhttp.open("GET",nomedoc,false); xhttp.send… xmlhttp.onreadystatechange without user intervention Programming Web Development by lawrenceh Hi How is it possible to write Ajax code using var timerId = setTimeout("test_function();", 250); and xmlhttp.onreadystatechange=function() but without the user doing anything. Thanks in advance, Lawrence xmlhttp.responseText = 1 Programming Web Development by xuexue …] [U]this is my code in javascript:[/U] [CODE]alert(xmlhttp.responseText);[/CODE] now, my problem is that the output displays… Re: xmlhttp and get redirect URL Name Programming Web Development by ratri You will not be able to accomplish it unless the page that is redirecting you is using javascript. The asp/php pages are parsed on the server and the XMLHTTP response contains whatever the server is returning. There is no way you could get to the source code of the page.