Tabs - Get Panel ID

Tabs - Get Panel ID

I need to get the HTML contents of the current tab.
I do not know how to do, because the tab has no option but to take the
index or id (buttons), but not the content.
Can anyone help me?
--