history.pushState
In this chapter you will learn:
Push state to history
history.pushState adds an Entry to the Browser History.
<!DOCTYPE HTML> <!--from java 2s . co m-->
<html>
<body>
<script type="text/javascript">
window.history.pushState("", "", "?asdf");
</script>
</body>
</html>
Next chapter...
What you will learn in the next chapter:
Home » Javascript Tutorial » History