M
MikeR
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>
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>