javascript forward() method


  Translation results:

UK[ˈfɔ:wəd] US[ˈfɔ:rwərd]

adv.Forward; forward; to the future; in advance

adj.forward; rapid; (social, political) progressive; precocious

vt.Promote, encourage; (press new address) forward; send

n.forward

Third person singular: forwards Plural: forwards Present participle: forwarding Past tense: forwarded Past participle: forwarded

javascript forward() methodsyntax

Function: Load the next URL in the history list. Calling this method is equivalent to clicking the forward button or calling history.go(1).

Syntax: history.forward()

javascript forward() methodexample

<html>
<head>
<script type="text/javascript">
function goForward()
  {
  window.history.forward()
  }
</script>
</head>
<body>

<input type="button" value="Forward" onclick="goForward()" />

</body>
</html>

Run instance »

Click the "Run instance" button to view the online instance

Popular Recommendations

Home

Videos

Q&A