What is "+id+" used for?
<p>What is this?:</p>

<pre><code>document.getElementById("+id+")
</code></pre>

<p>I have seen this used several times in code on other sites, and I was wondering what it's specific use was and if there is an alternate to using this code.</p>

<p><strong>--- Edit ---</strong></p>

<p><a href="http://www.coderanch.com/t/113377/HTML-JavaScript/Acessing-Function-Properties" rel="nofollow">Here</a> is an example of one of the sites I recently saw it on.</p>
