Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript redirect to file

window.location.href = '../'; //one level up
// or
window.location.href = '/path'; //relative to domain
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #javascript #redirect #file
ADD COMMENT
Topic
Name
6+3 =