Overview | Index | GodLikeMouse AJAX JavaScript Framework 2.5 |
FRAMES | NO FRAMES |
GLM.AJAX.setNameSpace( ns )
Method for setting the name space of the service call.
Parameters:
ns - The service name space.
Example:
var ajax = new GLM.AJAX();
function ajaxCallback(content){
alert(content); //displays the contents of the page.
}
ajax.setNameSpace("mynamespace");
ajax.callPage("myService.asmx", "myMethod", ajaxCallback); //call myService.asmx and pass the contents to ajaxCallback
Overview | Index | GodLikeMouse AJAX JavaScript Framework 2.5 |
FRAMES | NO FRAMES |