How to use a variable in place of ID in jquery
<p>I have a div in which id is generated with index like gal1,gal2,gal3,gal4....</p>

<pre><code>var clickid="gal" + index;
$('WANT TO PLACE clickid HERE').click();
</code></pre>

<p>I want to place the clickid variable inside the jquery selector. How to achieve it. This questions looks silly, but im a beginner eager to learn</p>
