What is the void in Javascript
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/666936/what-is-the-point-of-void-in-javascript">what is the point of void in javascript</a><br>
  <a href="http://stackoverflow.com/questions/1291942/what-does-javascriptvoid0-mean">What does &ldquo;javascript:void(0)&rdquo; mean?</a>  </p>
</blockquote>



<p>Everywhere I see this <code>javascript:void(0);</code> to do nothing I think. (instead of this <code>javascript:;</code> can be used I think)</p>

<p>And that day I see <code>javascript:void(x=document.getElementById('mytext').value);void(document.getElementById('mylabel').innerHTML=x);</code> code in the page. </p>

<p>My question is very simple, why void? What void does?</p>
