refreshing div from ajax request with page stylesheet

refreshing div from ajax request with page stylesheet

Hi,

i am trying to refresh a div container in a Html page with an ajax request from a php script. The Php-Script just returns the <li> elements for a <ul> list in the div container. But there is always the jquery mobile Stylesheet infos missing. Can someone tell me how to update this. The problem is that i just want to update the <li> elements and the website user should not see any scrolling or other things. Just the elements name should be changed.

Thanks a alot.

Here is my function:

  1.     $(document).ready(function() {
         
                setInterval(function () {
                $.ajax({
                     url: 'light.php',
                    
           success : function(data) {
           
                    $('#tree').html(data);

                  }      
                
            });

                }, 3000);
         
            });