如何使用javascript刷新页面的一部分? [英] How to refresh a portion of page using javascript?

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

问题描述

大家好..



我有一个aspx页面,并且我有一个带刷新按钮的portlet。单击该按钮时,单击刷新按钮时必须刷新portlet。我有表单组件文本框,单选按钮和复选框。我必须清除所有使用ajax刷新的东西吗?



怎么做才能给我一些建议...







谢谢。

Hi all..

I have an aspx page and in that I have portlet with refresh button. On the click of that button that portlet have to be refresh when I click the refresh button. I have form components textboxes, radio buttons and check boxes in that. I have to clear all those using using ajax refresh?

how to do that give me some suggestion...



Thanks.

推荐答案

这里有一个很好的初学者的例子 W3Schools 网站:

* 让AJAX更改此文本在线示例 [ ^ ]



我建议您指定更多关于您的需求,以便我们可以定制点击现场。



干杯,

C
Here's an example in the all to nice for beginners W3Schools site:
* "Let AJAX change this text" example online[^]

I suggest though that you specify more about your needs so that we can tailor something that "hits the spot".

Cheers,
C


<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Untitled Page</title>
    <script src="http://code.jquery.com/jquery-1.9.1.js"></script>
    <script type="text/javascript">


(文件).ready(function(){
(document).ready(function() {


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

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