Jarred,
I wanna call a server side method from a javascript funtion, would you pls help me that.
When i call the following code from aspx file , i gets error TestSearch undefined whereas TestSearch.doSearch() is defined in codebehind, Make sure its not a webserivce call.
I would really appreciate you.
Note: I have script library and atlas.dll in the project.
Thanks!
<script type="text/javascript" >
function callSearch() { this is called from a button.
TestSearch.doSearch(OnComplete,OnTimeOut);
}
function OnComplete(result) {
alert(result);
}
function OnTimeOut() {
alert("Timed Out");
}
</script>