在onclick事件中刷新页面 [英] refresh the page in onclick event

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

问题描述

我有两个观点,
在view1中包含一个按钮.

当我单击此按钮时,其他视图必须刷新.我该怎么做?
任何建议...

I have two views,
In view1 contains a button.

when i click on this button the other view has to refresh.how can i do this?
Any suggestions...

推荐答案

您的问题的简单答案是不可能" .与其相反,您可以在View1的会话中设置值,并且在View2的任何情况下都尝试更新所需的数据.


--Amit
A simple answer for your question is "Not Possible". Rather than that you can set the values in session from View1 and in any event of View2 try to update the required data,.


--Amit


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

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