I am using the following code to call JS function for mentioned DIV #lightGallery
$("#lightGallery").lightGallery({
thumbnail: false,
});
I need modifing JS code to make function be called for any #DIV+num like #lightGallery1, #lightGallery2,...etc