Jump to content

sks198117

Members
  • Posts

    3
  • Joined

  • Last visited

Everything posted by sks198117

  1. i'd alert the response text.that is fine but no any changes in inner html.....any idea?
  2. ----***************************************You'll have to make a counter variable and increament it with checked valueinstead of return truehope this will help u
  3. Hi all,below is my codei'm getting error in IEerror: htmlfile:Unknown runtime errorcan anyone help me regarding this errorthanks in advance************************var xmlHttpfunction showDeals(mobID,netID){ xmlHttp=GetXmlHttpObjectDeal() if (xmlHttp==null) { alert ("Browser does not support HTTP Request") return } var url="deals.asp" url=url+"?mobID="+mobID+"&netID="+netID+"&sid="+Math.random() xmlHttp.onreadystatechange=stateChangedDeal xmlHttp.open("GET",url,true) xmlHttp.send(null)}function stateChangedDeal() { if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete") { alert(xmlHttp.responseText) document.getElementById("tblBodyContent").innerHTML=xmlHttp.responseText }} function GetXmlHttpObjectDeal(){ var objXMLHttpDeal=null if (window.XMLHttpRequest) { objXMLHttpDeal=new XMLHttpRequest() } else if (window.ActiveXObject) { objXMLHttpDeal=new ActiveXObject("Microsoft.XMLHTTP") } return objXMLHttpDeal}
×
×
  • Create New...