Closed Bug 872123 Opened 12 years ago Closed 12 years ago

Firefox simple form element with inner html bug

Categories

(Firefox :: Untriaged, defect)

20 Branch
x86_64
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 872119

People

(Reporter: arvindwill, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0 Build ID: 20130409194949 Steps to reproduce: If the below code was opened in firefox 20.0.1 and type some value in the text box. once after typing the value hit the browser refresh button. the typed value getting shifted from one input elelment to another. <html> <head> <script> function searchPageLoader(){ document.getElementById('searchareaa').innerHTML='<label ></label>'; } </script> </head> <body onload="searchPageLoader()"> <div id="searchareaa"></div> <input type="text" id="pageCount" value="5"/> <input type="text" id="startlimit" value="11"/> <input type="text" id="endlimit" value="5"/> </body> </html> It is happening only in firefox and and only if we do the innerhtml . Actual results: newly added value is cyclic changing(shifting) everytime when the hit browser refresh button Expected results: value should not change
Severity: normal → critical
Priority: -- → P1
Severity: critical → normal
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Priority: P1 → --
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.