I have a div in which id is generated with an index like gal1, gal2, gal3, gal4 ....
var clickid="gal" + index; $('WANT TO PLACE clickid HERE').click();
I want to put the clickid variable inside the jquery selector. How to achieve this. These questions look silly, but I'm starting to look forward to learning
source share