Returning the Page ID.

Returning the Page ID.

Hi, is it possible to return the ID of the current page:

For instance if the page has the following code:

<div data-role="page" id="sports">

How can I get the id from it?

Thanks in advance,
Lammie.