In my jQuery mobile app, I want to display the result from a web service in a list. How do I create the list dynamically?
var arr = ["list", "items", "here"]; $("div").append(""); for(var i in arr) { var li = ""; $("ul").append(li.concat(arr[i])) }