I'm having trouble adding dynamically generated list items to an unordered list on my jQuery mobile page.
Despite my efforts, the existing CSS doesn't seem to be applied properly to the sortedList ul element.
I've experimented with various approaches such as:
jQuery('#sortedList').append('<li><h3>SUCCESS</h3></li>')
jQuery('#sortedList li').html('<h3>SUCCESS</h3>')
jQuery('#sortedList li').append('<h3>SUCCESS</h3>')
jQuery('#sortedList li').trigger('create');
jQuery('#sortedList li').append('<h3>SUCCESS</h3>')
Unfortunately, none of these methods have been successful so far. I would greatly appreciate any suggestions or advice on how to resolve this issue