javascript get query string parameter Edit
In modern browsers, it easy to get query string parameters
Solution
let params = (new URL(document.location)).searchParams; let name = params.get("name");
s
In modern browsers, it easy to get query string parameters
let params = (new URL(document.location)).searchParams; let name = params.get("name");