go back button in HTML
<input name="Submit" type="button" onClick="javascript:history.back(1)" value="return" />
go to one page in HTML
<input type="button" value="Home" onclick="self.location.href='home.html'"/>
go to Google website in HTML
<input type ="button" onclick="javascript:location.href='http://www.google.com'" value="go to Google"></input>
go back button in Javascript
window.history.back();
沒有留言:
張貼留言