I'm attempting to use the new JQM panels ( http://jquerymobile.com/test/docs/panels/index.html ) as follows.
I'm creating a listview with charity names from a mysql query. I want to click on the charity name to open up a panel which will have more info (from the same query) on the charity. The JQM documentation states:
When you dynamically add content to a panel or make hidden content visible while the panel is open, you have to trigger the updatelayout event on the panel. $( "#mypanel" ).trigger( "updatelayout" );
However I don't know how I would use this - where would it go?