且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

使用javascript禁用页面刷新

更新时间:2023-12-02 11:31:40

XMLHttpRequest ...

它被称为传统的AJAX.使用XMLHttpRequest,您可以使用JavaScript向服务器端发送请求,并根据响应从Javascript更改页面控件的值.

ASP.NET2.0支持此Ajax功能的Scriptmanager和UpdatePanel,它将部分刷新页面.
XMLHttpRequest...

It''s called traditional AJAX. Using XMLHttpRequest, you can send a request to server side using JavaScript and change the page controls value from Javascript based on response.

ASP.NET2.0, supports Scriptmanager and UpdatePanel for this Ajax feature that will partially refresh your page.