Adding a back button to review

greenspun.com : LUSENET : S-Mart Shopping Cart : One Thread

If after using the re-calculate button a surfer wishes to return to the cart, they must press the back button on there browser twice. Once to go back to the previous form viewed and once to return to the CGI generated cart. I would like to add a button to return to the cart (ie.. histor.back() if they do not press re-calculate and history.go(-2) if they have. This way by-passing the previous form viewed. Anything?

Thanks, Drew

-- Drew Watkins (drewwatk@aol.com), April 16, 2000


Moderation questions? read the FAQ