// This is the client-side code. // The input value can be any string. function AsynchTest(InValue) { // first, create an object reference. This must be done in each // function that uses Remote Scripting. var objServer = RSGetASPObject("rsarticleback.asp"); // objReturn will be used to reference the return value from the // server function. Bounce is the name of the method on the server. var objReturn = objServer.Bounce(InValue); // the parameter "return_value" contains whatever the server // sent back. alert(objReturn.return_value); }