Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

back button event listener javascript

function goBack() {
    window.location.hash = window.location.lasthash[window.location.lasthash.length-1];
 	window.location.lasthash.pop();
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #button #event #listener #javascript
ADD COMMENT
Topic
Name
6+9 =