I'm creating a table in a form, dynamically, as below. If I edit one of the text boxes and then click the reload button in Firefox, the text box I edited keeps the change, rather than reloading the value from the database. How can I make it reload? If I click the Reset button of the form, it does revert.
IE acts as I would expect.
Thanks, Mike
<table border="1" cellpadding="0" cellspacing="1" style="border-collapse: collapse" bordercolor="#0000FF" width="40%"> <%Do while not CRS.EOF%> <%ConnTemp.GetLog SanCall, CRS("Cid"), LogRS If not LogRS.EOF and not LogRS.BOF then LArray = LogRS.GetRows for ACtr = 0 to Ubound(LArray,2) response.write "<tr><td width='" & "60%" & "'>" response.write CRS("CID") & " - " & CRS("LName") & " - " & CRS("CQ_Zone") response.write "</td><td width='" & "20%" & "'>" response.write "<input type='text' name='T1' size='20' value='" & LArray(1,ACtr) & "'>" response.write "</td>" Next response.write "</tr>" Else response.write "<tr><td width='" & "60%" & "'>" response.write CRS("CID") & " - " & CRS("LName") & " - " & CRS("CQ_Zone") response.write "</td><td>" response.write "<input type='text' name='T1' size='20'>" response.write "</td></tr>" End If %> <%LogRS.Close CRS.MoveNext Loop%> </table>
I find this little bit of 'Helpfullness' from FF bizarre. I can't imagine why anyone would want to Refresh a form whilst it has unsubmitted data and want or expect the content to remain.
However there is nothing you can do about it. If you are delivering a UI for public consumption you should design your app with this potential behaviour in mind.
If you would like to report an abuse of our service, such as a spam message, please . Если Вы хотите пожаловаться на содержимое этой страницы, пожалуйста .