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
$("#" + clickid).click();
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With