Results 1 to 2 of 2

Thread: Firefox Form Problem

  1. #1
    Join Date
    Dec 2006
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Firefox Form Problem

    I am having a problem with Firefox (1.0.7). A simple page, with a text input control on it, with a preset value of "5".

    The first time I bring up the page, the "5" is showing. If I go into the text box and change it to a "3", and then click refresh, the "3" stills on the refreshed page, even though if I view the Page Source the html is showing value="5". This doesn't happen in IE - what is causing Firefox to behave like this.

    HTML Code:
    <HTML>
    <HEAD>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <meta http-equiv="cache-control" content="no-cache">
    <meta http-equiv="Pragma" content="no-cache">
    </HEAD>
    
    <BODY>
    <FORM name="viewForm" action="dummy" method="POST" >
        <INPUT type="text" name="il" value="5" />
    </FORM>
    
    </BODY>
    </HTML>

  2. #2
    Join Date
    Dec 2006
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Adding autocomplete="off" to the form tag seems to have stopped the unwanted behaviour.

    I had thought you actually had to start typing something for 'autocomplete' to do something. I didn't realize it would also affect the pre-loading of values into form controls.

    Does this seem right?

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •