Open Bug 695720 Opened 13 years ago Updated 2 years ago

The value of input was not refreshed.

Categories

(Firefox :: General, defect)

7 Branch
x86_64
Windows 7
defect

Tracking

()

UNCONFIRMED

People

(Reporter: nigelvon, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.202 Safari/535.1

Steps to reproduce:

I refreshed my website on firefox 7.0.1.


Actual results:

The value(the value is created by php) of a hidden input was not refreshed.
I can't run my website normally except never use the input to save my data.


Expected results:

The value of input should be refreshed.
Summary: The value of input is not refreshed. → The value of input was not refreshed.
I create the input by php:
<input id="count" type="hidden" value="<?php echo $count = 25; ?>" />

and the html should be:
<input id="count" type="hidden" value="25" />

and when I do sth to let js change the value of the input:
<input id="count" type="hidden" value="42" />

and I refresh the page(press ctrl + r), the input is still:
<input id="count" type="hidden" value="42" />

it must be refresh to 25!
Can you make a testpage? No PHP, just HTML with the <input value=25> and the javascript code to set it to 42. Attach it as attachment here.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.