"Build" JS variable
<p>I'm having problem for a long time and I would like to solve it now.
In php, if you want to retreive variable $var123, you could do it this way</p>

<pre><code>$varname = "var123";
$var = $$varname;
</code></pre>

<p>How could I do the same in js and/or jquery?</p>
