Author: farooquishahab | Posted on: 5/5/2009 1:13:35 PM | Views : 284

 I have one web service that returns true/false, I can access web service using AJAX. see code below.
 
 <body>

<script type="text/javascript">
function CheckLength(sender, args) {
//args.IsValid = (args.Value.length >= 4);

WebApplication1.Validatoin.VerifyName(args.Value, OnComplete, OnError, OnTimeOut);


}


function OnComplete(args,arg)
{

}

function OnTimeOut(arg)
{
alert("timeOut has occured");
}

function OnError(arg)
{
alert("error has occured: " + arg._message);
}

</script>

<form id= Go to the complete details ...