Retrieve the items data that is clicked in a repeater

I tried your trick but it didn’t work. I tried replacing $w with $item. It didn’t work either.