I have a div in which id is generated with index like gal1,gal2,gal3,gal4….
var clickid="gal" + index;
$('WANT TO PLACE clickid HERE').click();
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
1 Answer