JavaScript Back Button
9
A simple back button in JavaScript.
<form>
<input type="button" value="Back to Previous Page"
onClick="javascript: history.go(-1)">
</form>



KennethCC
me
jamesmcm
Can
Kelmi
ysg
dannymo2
chorny
wallie
Hackdemian
dannyboy
sundaramkumar
mattrmiller
Pio
i_kenneth
ASmith
ctiggerf
sehrgut
bertheymans
SCoon
NB: javascript: is not requird in the onclick, onchange, etc handlers... That's taken for granted...
<input type="button" onclick="history.go( 'bytemycode.com' )">