在Mozilla中未刷新Dropdownlist值 [英] Dropdownlist value is not refreshed in mozilla

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

问题描述

Dropdownlist


当我第一次将页面的SelectedIndexSelectedIndex设置为0并且单击按钮时将dropdownlistSelectedIndex设置为2时,但是当我重新加载页面的dropdownlistSelectedIndex时,应该将其设置为到0.但是在mozilla中没有刷新.它在IE8和chrome中工作正常.是否有任何解决方案可以使用当前值在Mozilla中重新加载页面

Dropdownlist value is not refreshed in mozilla


When i load my page first time SelectedIndex of dropdownlist to 0 and I am changing the SelectedIndex of dropdownlist to 2 when i click a button but when i reload my page SelectedIndex of dropdownlist should set to 0.but it is not refreshed in mozilla.it is working fine in IE8 and chrome.Is there any solution to reload the page in mozilla with current values

推荐答案

AFAIK,当您按下 F5或Refresh 时,Firefox将使用控件中的最后一个值加载页面.为避免这种情况,请单击地址栏,然后按 Enter .而且我认为您无法更改Firefox的这种行为.

希望对您有所帮助:)
AFAIK ,when you hit F5 or Refresh firefox loads the page with last values in controls. To avoid this, click on the address bar, and hit Enter. And I don''t think you can change this behavioral of Firefox.

hope it helps :)


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

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