[thelist] Safari trouble

Lee kowalkowski lee.kowalkowski at googlemail.com
Fri Oct 27 05:10:50 CDT 2006


On 26/10/06, Ishrath Fatima <ishrathf at gmail.com> wrote:
> This is how the code looks
>
>    echo"<br><br>&nbsp;&nbsp;&nbsp;&nbsp;<a href='#'
> onClick='history.back(0)'>Go
> back to the form</a>";
>
> Fatima

So you're saying in Safari, using back navigation doesn't persist the
form-field entries?  You have no control over that doing it this way,
in any browser, I'm sure other browsers can exhibit this behaviour
depending on cache settings.

The method where you have control is to not use JavaScript back(),
take the user to the form using standard navigation with the
previously-entered values explicitly defined in the form.

While you're at it.  Put your error message on the form itself so you
don't have to hold onto any state.

-- 
LK



More information about the thelist mailing list