Firefox simple form element with inner html bug -
if below code opened in firefox 20.0.1 , type value in text box. once after typing value hit browser refresh button. typed value getting shifted 1 input elelment 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 happening in firefox , and if innerhtml . work around this, spoiling of application workflow.
if surround form controls (including div new label) <form></form>
tags, strange behavior disappears. see https://support.mozilla.org/questions/959372
Comments
Post a Comment