Documentation Request

Hi All,

What’s the cleanest way to pass a single variable though a URL? I have a main index page, with links to another page. I want to be able to use a format similar to secondpage.html?myParam=test

then in my js I just want to read myParam.

I’ve looked though the documentation, but can’t see a simple way to do this.