Use the following code for the callback
function CallbackFunc(res)
{
if (res.error != null)
alert(res.error.Message);
else
alert(res.value);
document.getElementById('txtStateName').value = res.value;
// this assumes that txtStateName is an INPUT box of type Text
}
}
Joseph Guadagno
http://josephguadagno.net
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ajax.NET Professional" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/ajaxpro
The latest downloads of Ajax.NET Professional can be found at
http://www.ajaxpro.info
-~----------~----~----~----~------~----~------~--~---