Can I use the jquery templating with phonegap
<p>In my phonegap project, I wanna use the jquery template, I tried an example :</p>

<p>This is my page:</p>

<pre><code>&lt;html&gt;  
&lt;head&gt;
...
    &lt;script type="text/javascript" src="jquery.min.js"&gt;&lt;/script&gt;        
    &lt;script type="text/javascript" src="jquery.tmpl.js"&gt;&lt;/script&gt;       
&lt;/head&gt;
&lt;body&gt;    
    &lt;script type="text/x-jQuery-tmpl" id="app_products"&gt;
        &lt;div class="productsLIST"&gt;
            &lt;div&gt;
                &lt;div class="image"&gt;
                    &lt;div id='${productID}'&gt;&lt;/div&gt;
                    &lt;div &gt;
                        &lt;div class="image-detail"&gt; &lt;img src="${imgPath}" alt="Product" class="img-responsive"&gt; &lt;/div&gt;
                    &lt;/div&gt;            
                    &lt;div&gt;
                        &lt;p class="name"&gt;${product_name} &lt;/p&gt;
                        &lt;span class="price"&gt;${price} DT&lt;/span&gt;
                    &lt;/div&gt;
                &lt;/div&gt;
            &lt;/div&gt;
        &lt;/div&gt;     
    &lt;/script&gt;

    &lt;div id="content"&gt;&lt;/div&gt;    

    &lt;script&gt;
         var ws_url = "http://192.168.0.25:8080/services";
        $.ajax({
            type: 'GET',
            url : ws_url+'/request/getJsonData/125',
            data : {},
            dataType: 'json',
            error : function(jqXHR, exception) {},
            success : function(xhr){
                var jsonData = JSON.parse(JSON.stringify(xhr));
                if(jsonData != null &amp;&amp; jsonData.length) {
                    $.each(jsonData, function(index, item) {
                        var _options = {};
                        $("#app_products").tmpl(item, _options).appendTo("#content");                   
                    });
                }       
            } 
        });
    &lt;/script&gt;
&lt;/body&gt;
</code></pre>

<p> 
This example doesn't work on an android device.
I don't know why. This code works on a web browser!</p>