Any Yui experts there?
I'm just trying to return a string of data via an ASP page.
My relevant code is:
function sbmSch() {
var sUrl = "searchGet.asp?find=" + document.main.find.value;
var rtnString = 'aaa';
var callback = {success:handleSuccess, failure:handleFailure, argument:rtnString};
var div = document.getElementById('results');
var handleSuccess = function(o){if(o.responseText !== undefined){div.innerHTML = "aaa";}}
var handleFailure = function(o){if(o.responseText !== undefined){div.innerHTML = "bbb";}}
var request = YAHOO.util.Connect.asyncRequest('GET', sUrl, callback);
}
The page searchGet.asp is executing but then nothing.
Ahy suggestions?
I'm just trying to return a string of data via an ASP page.
My relevant code is:
function sbmSch() {
var sUrl = "searchGet.asp?find=" + document.main.find.value;
var rtnString = 'aaa';
var callback = {success:handleSuccess, failure:handleFailure, argument:rtnString};
var div = document.getElementById('results');
var handleSuccess = function(o){if(o.responseText !== undefined){div.innerHTML = "aaa";}}
var handleFailure = function(o){if(o.responseText !== undefined){div.innerHTML = "bbb";}}
var request = YAHOO.util.Connect.asyncRequest('GET', sUrl, callback);
}
The page searchGet.asp is executing but then nothing.
Ahy suggestions?