刷新jsp页面中的Div标签 [英] Refresh Div tag in jsp page

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

问题描述

我需要在jsp页面(index.jsp)中自动刷新div标签(#visualization)。我的div标签(#visualization)对应于一个jsp页面(home.jsp),其中包含一个googlescatterchart.js页面。而且div标签(#visualization)应该从数据库中刷新数据5秒钟。

请帮助....如何实现这个目标?

I need to auto refresh a div tag(#visualization) in a jsp page(index.jsp). My div tag(#visualization) corresponds to a jsp page(home.jsp) which includes a googlescatterchart.js page. And the div tag(#visualization) should refresh data from database evry 5 seconds.
Please Help.... How to achieve this?

推荐答案

在没有看到任何代码的情况下,我们只能给出一般答案...

尝试做一些研究......例如 like like [ ^ ]



查看前十几个链接(不是第一个)以查看哪个链接最符合您的要求,然后再去。



如果你无法使用它,那么在这里发布你的代码并解释它的行为与你的期望有何不同。 Nelek提供了帮助您发布该问题的链接。
Without seeing any of your code we can only give generalised answers ...
Try doing some research ... for example like this[^]

Look through the first dozen or so links (not the first one) to see which link best matches your requirements, then have a go.

If you cannot get it to work, then post your code here and explain how its behaviour is different to your expectations. Nelek has provided the links to help you post that question.


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

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