How to get values from URLs in Java Script The Problem You have a URL with parameters, which are known as query string parameters.