Jquery Mobile, appending items doesnt work.
Hey, I am appending a user entry to a list.
Like:
-
var enterul = document.getElementById('entrylist');
var entryli = document.createElement("LI");
var entryvalue = document.createTextNode(item.entry);
entryli.appendChild(entryvalue);
enterul.appendChild(entryli);
It does populate my ul, but not with JQM css...Just a regular HTML list...
I don't understand that...
cause if i go in html and add a list item like: <ul><li>Item</li></ul>
It shows like a jqm list...
Ah, enterul.innerHTML += ... doesnt work also.
Whyyyyy?