Jquery中是否有任何更新面板 [英] Is there any update panel in Jquery

查看:125
本文介绍了Jquery中是否有任何更新面板的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

HI,



我的PHP项目中需要使用Jquery的更新面板。



它在Jquery中可用吗?



I need an update panel using Jquery in my PHP project.

Is it available in Jquery?

推荐答案

我想没有。



如果你想做 UpdatePanel 之类的事情,那么你可以实现下面描述的逻辑。



1.取一个Div并将所有控件放入其中。

2.在 setInterval() [ ^ ]方法并提供间隔。此功能将在每个时间间隔后连续执行。

3.现在在该功能中定义所有业务逻辑并更新div。



因此,div的行为类似于 UpdatePanel
I guess no.

If you want to do something like UpdatePanel, then you can implement the logic described below.

1. Take a Div and place all your controls inside it.
2. Call a function in setInterval()[^] method and provide an interval. This function will execute continously after each time interval.
3. Now define all your Business Logic in that function and update the div.

Thus, the div can behave like an UpdatePanel.


这篇关于Jquery中是否有任何更新面板的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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