Getting the data of item clicked in a repeater populated using an array

Got the answer for this one. We need to create a listener for each item’s button individually.