# Simple GET question

**URL:** <https://forum.kirupa.com/t/simple-get-question/168105>\
**Category:** Uncategorized\
**Created:** [November 3, 2005, 11:32pm UTC](https://forum.kirupa.com/t/simple-get-question/168105 "2005-11-03T23:32:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rasper](https://avatars.discourse-cdn.com/v4/letter/r/9fc29f/32.png) [@Rasper](https://forum.kirupa.com/u/Rasper)\
**Post date:** [November 3, 2005, 11:32pm UTC](https://forum.kirupa.com/t/simple-get-question/168105/1 "2005-11-03T23:32:17Z")

</div>

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](http://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:

```auto
 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?  
Thanks
