title: Can't show javascript variable in html
body: <p>This is the code:</p>
  
  <pre><code>&lt;div id="screen1"&gt;You do not have javascript enabled.&lt;/div&gt;
  &lt;div id="screen2"&gt;You do not have javascript enabled.&lt;/div&gt;
  &lt;script&gt;
     document.getElementById("screen1").innerHTML = return window.screen.availHeight;
     document.getElementById("screen2").innerHTML = return window.screen.availWidth;
  &lt;/script&gt;
  </code></pre>
  
  <p>The output for both <code>screen1</code> and <code>screen2</code> is <code>You do not have javascript enabled.</code>, I thought this way would work because I used this before and it worked:</p>
  
  <pre><code>&lt;div id="locale"&gt;You do not have javascript enabled.&lt;/div&gt;
  &lt;script&gt;document.getElementById("locale").innerHTML = getLang();&lt;/script&gt;   
  </code></pre>