How can I find an element by passing in a variable in jQuery?
<p>I tried the following and it works:</p>

<pre><code>$('#row_').remove();
</code></pre>

<p>However now I would like to make it depend on the value of a variable. For example if the number of the row is contained in the variable id:</p>

<pre><code>var id = 4;
$('#row_').remove();
</code></pre>

<p>How can I make it so the above looks for row 4 by using the id variable?</p>
