Take the 2-minute tour ×  i have the following problem :  I'm
using Jquery mobile , user can search for products and the
details of those page are created dynamically :  something like
:   $("body").append('<div class="products" data-role="page"
id="'+pageId+'"><div data-role="header"><p class="backSearch"><a
href="#base" data-rel="back" data-role="button" data-
inline="true" data-icon="back">back</a></p><h1>' +data.title+
'</h1></div></div>');   // create the content DIV
$('#'+pageId).append('<div data-role="content"
id="content_'+pageId+'">...</div>');  It's working fine , but
the problem is that when you go to the product details and you
click on the refresh the form appears again and since the Dom is
refreshed i don't have access to the product details anymore
(need to do another search etc..)  Any solution in mind to
resolve this issue ?  share|improve this question I've always
used a placeholder page, added the data dynamically and
refreshed the page –  Phill Pafford Sep 16 '11 at 18:46 add
comment  3 A