I have a URL like this:
http://localhost/src/profiles/project_part_2/Project2.html?score=6
I want to have the amount of score variable.
I did this:
var url_path = window.location;
That return the path:
http://localhost/src/profiles/project_part_2/Project2.html?score=6
Now I want to extract the amount of score.