"Mel" <mehra.heravi@s sa.gov> wrote in message
news:c1vbha$30o $1@s0b1a68.ssa. gov...[color=blue]
> how can i have a "Prev" button in my form to take me back to previous[/color]
page[color=blue]
> WITHOUT Javascript ?[/color]
Just do a link back to the forms url......means the user will loose all
their inputted data. However, you could advise them to use their browsers
'back' button. This would maintain the inputed values.
Stu
"Mel" <mehra.heravi@s sa.gov> wrote in message
news:c1vbha$30o $1@s0b1a68.ssa. gov...[color=blue]
> how can i have a "Prev" button in my form to take me back to previous page
> WITHOUT Javascript ?
>
> thanks
> Mel
>
>[/color]
Stuart Palmer wrote:[color=blue]
> Just do a link back to the forms url......means the user will loose
> all their inputted data. However, you could advise them to use their
> browsers 'back' button. This would maintain the inputed values.[/color]
DB McGee wrote:[color=blue]
> Stuart Palmer wrote:
>[color=green]
>>Just do a link back to the forms url......means the user will loose
>>all their inputted data. However, you could advise them to use their
>>browsers 'back' button. This would maintain the inputed values.[/color]
>
>
> You could just simulate the back button with:
>
> <input type="button" name="back" value="back" onclick="histor y.go(-1)"/>
>
>[/color]
Before answering a question, even an answer to the original, one should
endeavor to read the original question:
<quote>
how can i have a "Prev" button in my form to take me back to previous
page WITHOUT Javascript ?
</quote>
To which your solution is utterly useless since it depends on javascript
and the history being scriptable.
Randy Webb wrote:[color=blue]
> DB McGee wrote:[color=green]
>> Stuart Palmer wrote:
>>[color=darkred]
>>> Just do a link back to the forms url......means the user will loose
>>> all their inputted data. However, you could advise them to use their
>>> browsers 'back' button. This would maintain the inputed values.[/color]
>>
>>
>> You could just simulate the back button with:
>>
>> <input type="button" name="back" value="back"
>> onclick="histor y.go(-1)"/>[/color][/color]
I assumed since the question was posted to comp.lang.javas cript that the OP was
searching for a JavaScript solution :)
Comment