get ui.prevPage and ui.toPage on data-role="back" button click

get ui.prevPage and ui.toPage on data-role="back" button click

Hi!, I'm from Mexico so sorry for my english. :)

Some of you know if there are some way to get the ui.prevPage and ui.toPage on the click event of an element button with the attribute data-role="back"?

Thanks!