data-role="page" in JQuery Mobile (resolved)

Nov 14, 2012 at 11:16 PM
Edited Nov 15, 2012 at 4:23 PM

I have following code in test.jsp page. it works when page is opened via the address bar of browser. When it is called by another page using <a href="test.jsp"></a>, it won't show any star. it will work only if I change "page" to something else in this situation,  Anybody know the reason?

<div data-role="page" id="detail" data-theme="d" data-position="fixed">  

<div class="rateit" data-role="none" data-rateit-value="4.5" data-rateit-ispreset="true" data-rateit-readonly="true"></div>

 </div>

 

I use JQM 1.2.0 and JQuery 1.8.2

Issue resolved. in case you need to know, all the js files need to be included in calling page even itself doesn't use it.