jQuery UI 1.9 milestone 6: how to check current state – is popup or not?
Thanks!
EDITED
This doesn’t work…
$(function() {
$("#login-form").popup();
if($('.ui-popup').attr('aria-expanded')=='true') $('#aa').style.background='red';
else $('#aa').style.background='white';
});
I found solution of this problem: