Generated tags don't load with css

Discussion in 'CSS Forum' started by burns, Apr 10, 2013.

  1. burns

    burns New Member

    I am appending a user entry to a list.Like: \[code\]var enterul = document.getElementById('entrylist'); var entryli = document.createElement("LI");var entryvalue = http://stackoverflow.com/questions/15915333/document.createTextNode(item.entry); entryli.appendChild(entryvalue); enterul.appendChild(entryli);\[/code\]It does populate my ul, but not with JQM css, just a regular HTML list.If I go in html and add a list item like: \[code\]<ul><li>Item</li></ul>\[/code\]
    It shows like a jqm list.\[code\]enterul.innerHTML += ...\[/code\] doesnt work also.
     

Share This Page