Simple GET question

I’m trying to send a variable to my next page using GET, but I’m not sure if it will work. It’s not in ASP.NET, PHP, … or anything, just plain html. 1 variable (language).

I want to give a variable ‘lang’ to my next html-page, so it can display the right language.

This is what I’m trying:

 getURL("main.html?lang=" + _global.lang); 

However, when my link brings me to the main-page, it just displays …/main.html in the adress bar, WITHOUT my variable :hat: .
Am I doing something wrong?
Is it perhaps not possible to do this locally or something?