Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js redirect to relative url

window.location.href = '/path'; //relative to domain
 
PREVIOUS NEXT
Tagged: #js #redirect #relative #url
ADD COMMENT
Topic
Name
5+7 =