Click here to Skip to main content
15,895,667 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi,
i m design a online quiz. i have design one question for one page and kept next and prev button how to write the code for prev button means it should redirect to back page and the choice which i have clicked should be visible, means it should not be empty and one more click on the option it wil be stored in the database so while clicking on prev button can we retrive the data from databse how it is possible.
Posted
Updated 17-Jan-13 23:42pm
v2

1 solution

Well you can simulate the browser's 'back' button on the page with:
HTML
<input type="button" onclick="history.go(-1)" value="Back" />

Is that all you need?
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900