如何使用jQuery问心无愧了页面刷新调用服务器端功能?
How to call server side function using jquery wth out page refresh?
使用AJAX:
$.get('somepage.aspx', {foo: 'bar'}, function(data){
alert('the page returned this: '+data);
});
然后设置SomePage.aspx页面执行的功能和(如果需要)返回的数据。
Then set up somepage.aspx to execute the function and return the data (if needed).
更多关于jQuery的AJAX看到这样的: http://docs.jquery.com/Ajax
For more on jQuery AJAX see this: http://docs.jquery.com/Ajax
上一篇:如何而一个的UpdateProgress正在使用在UpdatePanel的的ContentTemplate被隐藏?UpdateProgress、UpdatePanel、ContentTemplate