Forum Moderators: open
i have the problem that i have some JS dynamically built dropdowns, as from my prev post..
but when the user (we will call them gits from now on) submits that page, and then goes back cos they have screwed up, none of the values in the dropdowns have bee held..
EEEEKK! more blooming work
is the only way round this a cookie and something in the onload?
cheers again.
nathan
I frequently do this:
<input type="text" name="Username" value="<%=Request("username")%>">
This will cause the field to be blank the first time, but will retain their entry should something happen to cause the page to reload.
You can do the same with select boxes, but it's more complicated. You need to capture the Request in a "hidden" variable, then compare the value with the options in the select box.
But it's very doable, and once you have it you can copy and paste to your heart's content.
It works well on IE4 and up and on Netscape browser that support innerHTML (6 and up).
cheers again ppl
nathan
thanks again ppl
yours, with a big sigh..
nathan