单选按钮是在FF复位的高速缓存刷新 [英] Radio buttons being reset in FF on cache-refresh

查看:137
本文介绍了单选按钮是在FF复位的高速缓存刷新的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

(这是技术上的增编到一个较早的<一个href=\"http://stackoverflow.com/questions/1544479/checking-if-radio-buttons-are-checked-in-firefox\">StackOverflow问题我贴过,但我原来的职位问不同的问题它并没有真正涵盖这个话题 - 我不希望编辑我的大问题,因为我觉得这是不够的不同,值得自己的页面)

(This is technically an addendum to an earlier StackOverflow question I had posted, but my original post asked a different question which doesn't really cover this topic -- I don't want to edit my older question as I feel this is different enough to merit its own page)

在浏览我的网站在Firefox 3.5(只有FF3.5),我遇到一个页面具有以下HTML code两个单选按钮:

While browsing my website in Firefox 3.5 (and only FF3.5), I come across a page with two radio buttons that have the following HTML code:

<input id="check1" type="radio" value="True" name="check" checked="checked"/>
<input id="check2" type="radio" value="False" name="check"/>

本页面呈现如预期,CHECK1检查和CHECK2'听之任之。当我然后去刷新由pressing控制+ R的页面,两个单选按钮渲染,但他们的两个选中尽管原始的HTML code是相同的(如上)。如果我做高速缓存未命中刷新(通过控制+ F5或Control + Shift + R),该页面返回到你的方式希望它。

This page renders as expected, with 'check1' checked and 'check2' unchecked. When I then go to refresh the page by pressing Control + R, the two radio buttons render, but they are both unchecked even though the raw HTML code is the same (as above). If I do a cache-miss refresh (via Control + F5 or Control + Shift + R), the page returns back to the way you'd expect it.

这是不以任何其他浏览器我试过除了FF3.5一个问题。

This is not a problem in any other browser I've tried except FF3.5.

是什么导致这些单选按钮在普通刷新重置?我怎样才能避免这种情况?

What is causing these radio buttons to be reset on a normal refresh? How can I avoid this?

推荐答案

原来这是一个的错误在Firefox

这篇关于单选按钮是在FF复位的高速缓存刷新的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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