refresh styles in jquerymobile - phonegap
===

Hello this is the javascript function that use the output of a plugin PhoneGap

    printResult function (olist) {
        innerHtmlText var = getHtml (olist);
        document.getElementById ("result"). innerHTML = innerHtmlText;
        }

 

When returning a string like:

    innerHtmlText  =  "<ul  data-role='listview' data-inset='true' data-theme='c' data-dividertheme='b' ><li><a href='index.html'><img src='http://thumbs.ebaystatic.com/pict/150853631672_1.jpg' height='100%' width='18%' /><b>acer 19&quot;</b></a></li><li><a href='index.html'><img src='http://thumbs.ebaystatic.com/pict/150853631672_1.jpg' height='100%' width='18%' /><b>acer 19&quot;</b></a></li><li><a href='index.html'><img src='http://thumbs.ebaystatic.com/pict/150853631672_1.jpg' height='100%' width='18%' /><b>acer 19&quot;</b></a></li><li><a href='index.html'><img src='http://thumbs.ebaystatic.com/pict/150853631672_1.jpg' height='100%' width='18%' /><b>acer 19&quot;</b></a></li>"




on the div:

    <div id="result"> </ div>




It applies the styles of jquery mobile. Logically it would be
necessary to refresh the page to load the data-style theme = 'c'
data-dividertheme = 'b'. Just copy the string to <div id="result">.

Please can help me with this took a long standing.


=====

 Hola esta es la función javascript que uso a la salida de un plugin
de phonegap

    function printResult(oList){
            var innerHtmlText=getHtml(oList);
            document.getElementById("result").innerHTML=innerHtmlText;
            }
     

Al devolver una cadena como:

    innerHtmlText  =  "<ul  data-role='listview' data-inset='true' data-theme='c' data-dividertheme='b' ><li><a href='index.html'><img src='http://thumbs.ebaystatic.com/pict/150853631672_1.jpg' height='100%' width='18%' /><b>acer 19&quot;</b></a></li><li><a href='index.html'><img src='http://thumbs.ebaystatic.com/pict/150853631672_1.jpg' height='100%' width='18%' /><b>acer 19&quot;</b></a></li><li><a href='index.html'><img src='http://thumbs.ebaystatic.com/pict/150853631672_1.jpg' height='100%' width='18%' /><b>acer 19&quot;</b></a></li><li><a href='index.html'><img src='http://thumbs.ebaystatic.com/pict/150853631672_1.jpg' height='100%' width='18%' /><b>acer 19&quot;</b></a></li>"



sobre el div :


    <div id="result"></div>




No aplica los estilos propios de jquery mobile. Logicamente haría
falta refrescar la página para que cargue los estilos data-theme='c'
data-dividertheme='b'. Solo copia la cadena a <div id="result">.

Por favor me podeis ayudar llevo mucho parado con esto.