i'm new to jquery/jquery mobile, and trying to build my first app with dynamic content from sqlite database. the basic functionality of the app is working, but i got some difficulty refreshing the dynamic content pages. In this app there can be several links to the same page with different argmuments to get the correct content from te database. so the page should be totaly rebuild before shown to the user.
The dynamic adding to de list works fine, but when i revisit the dynamic page with different arguments for adding content to the list, the old results (list) shows for a few seconts before rebuilding the list with de dynamic content of the new request.
Menu links: (?order=... is removed by plugin and is stored in $.mobile.pageData)
<a href="#page_products?order=price">Order by Price</a>
<a href="#page_products?order=name">Order by Name</a>