Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js event listener url change

window.addEventListener('hashchange', function() {
	//do it;
})

window.addEventListener('hashchange', function() {
  console.log('Hash was changed!')
}, false)
 
PREVIOUS NEXT
Tagged: #js #event #listener #url #change
ADD COMMENT
Topic
Name
1+4 =