Answers for "redirect to url with parameters js"

0

javascript redirect to url with parameters

window.location = "./dir/file.html?year=" + thisYear + "&" 
                                    + "month=" +thisMonth + "&"
                                    + "day=" +thisDay;
// start with a . to use relative path
// start with a / to use root
// you can also use a URL
Posted by: Guest on September-13-2021

Code answers related to "redirect to url with parameters js"

Code answers related to "Javascript"

Browse Popular Code Answers by Language