How to dynamic select element with JQuery by id
<p>I need to dynamic select element with JQuery, I get in code id of element. How to do that ?
I've tried:</p>

<pre><code>var sel='\'#'+id+'\'';
var elem+$(sel);
</code></pre>

<p>but it doesn't work ( id is string id of element).</p>
