Determine Active Panel
问题 I'm on a phonegap project. I do my project with JQMobi (new name is Intel's App Framework).. On this project i want to determine the visible/active panel to startup my functions according to it. Here is what i've tried ; $(document).bind('pageshow', function () { var id = $.ui.activeDiv[0].id; if ($.ui.activeDiv[0].id=="contents01"){ getLive(); } }); function getLive(){ alert('on live page!'); } how can i do this in jqmobi/app framework ? i used this in jquery mobile and it was working. $