I need to keep track of what image is displayed in the carousel so I would like to bind to the "show" event. But the documentation isn't very clear of how to bind to it, and what parameters are passed to the function you bind (or maybe none?).
Then how do you find which image is currently displayed?
I tried $('.ui-carousel-active'); but that returns [].
This is JQuery Mobile