<script type="text/javascript" src="/script/MicrosoftAjax.js"></script>
<script type="text/javascript">
function onclickBtn1()
{
var wRequest = new Sys.Net.WebRequest();
wRequest.set_url("/test.aspx?id=3");
wRequest.add_completed(
function(executor, eventArgs)
{
alert(executor.get_responseData());
});
wRequest.invoke();
}
</script>
No comments:
Post a Comment