I have this on Mouse down, I put in an alert to check the url and all is good. I have this program running on another server and it works great. I put this program on the qa server and doesn't run the url. Any Ideas why it would work on one server not another
AutoComplete.prototype.onDivMouseDown = function()
{
if (typeof(this.innerHTML) == 'undefined') {
<!---alert("this.innerHTML "+this.innerHTML);--->
this.innerHTML = document.GoForm.theText.value;
<!---alert("this.innerHTML after setting the... "+this.innerHTML);--->
AutoComplete.oText = document.GoForm.theText.value;
<!---alert("AutoComplete.oText ="+AutoComplete.oText);--->
AutoComplete.oText = this;
}
else { this.AutoComplete.oText.value = this.innerHTML; }
var url="MWQuickOrderForm.jsp?theText=" + document.GoForm.theText.value;
<!---alert(url);--->
xmlHttp.open('get', url, true);
xmlHttp.onreadystatechange = myResponseMethod;
xmlHttp.send('null');
AutoComplete.prototype.onDivMouseDown = function()
{
if (typeof(this.innerHTML) == 'undefined') {
<!---alert("this.innerHTML "+this.innerHTML);--->
this.innerHTML = document.GoForm.theText.value;
<!---alert("this.innerHTML after setting the... "+this.innerHTML);--->
AutoComplete.oText = document.GoForm.theText.value;
<!---alert("AutoComplete.oText ="+AutoComplete.oText);--->
AutoComplete.oText = this;
}
else { this.AutoComplete.oText.value = this.innerHTML; }
var url="MWQuickOrderForm.jsp?theText=" + document.GoForm.theText.value;
<!---alert(url);--->
xmlHttp.open('get', url, true);
xmlHttp.onreadystatechange = myResponseMethod;
xmlHttp.send('null');