使用javascript禁用页面刷新 [英] disabling the page refresh using javascript

查看:61
本文介绍了使用javascript禁用页面刷新的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的所有人,
当我点击下拉列表时,整个页面将被重新加载.我只希望重新加载页面的一部分.我不使用ajax.如何使用javascript仅重新加载页面的一部分?请帮助我...

Dear All,
When I click on the dropdownlist the whole page will reload.I want to reload only a part of a page.I am not using the ajax.How to reload only some part of the page using javascript? please help me...

推荐答案

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.


这篇关于使用javascript禁用页面刷新的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆