Using JQuery UI, I would like to set the html content of the currently selected tab, without knowing any id/title in advance. What is the best method for doing so? Thanks!
Just use a css selector:
$('.ui-tabs-panel').not('.ui-tabs-hide').html('Content.');