Backwards and Forwards Buttons


/ Published in: HTML
Save to your folder(s)



Copy this code and paste it in your HTML
  1. <script language="Javascript">
  2. <input type="button" value="back" onClick="history.go(-1)">
  3. <input type="button" value="forward" onClick="history.go(1)">
  4. </form>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.