Question
Asynchronous calls
Below is my asynchronous call to my. What I intend to
accomplish is when the recordcount is greater than 0, then show the
alert. How can I accomplish this with Asynchronous calls
responseHandler.onResult = function( results: Object ):Void {
//when results are back, tell us the results .
alert("Name found in the database Table. Choose another Name")
}
myService = connection.getService("Jsulian.admin.cfccall", responseHandler );
responseHandler.onResult = function( results: Object ):Void {
//when results are back, tell us the results .
alert("Name found in the database Table. Choose another Name")
}
myService = connection.getService("Jsulian.admin.cfccall", responseHandler );