The following code should alert the HTML content of a DIV. The DIV is selected by finding its data attribute for the field panel. However the alert is undefined for reasons I cannot explain.
$('.access .panel').html(results).data('panel','logon');
alert($('.access .panel[data-panel=logon]').html());