javascript - jquery display a list of items in <ul> -
hi want display list of item inside sample html code <h3 id="game-filter" class="gamesection"> <span>game</span></h3> <div id="game-filter-div" style="padding: 0;"> <ul id="gamelist"> </ul> </div> code var games = new array(); games[0] = "world of warcraft"; games[1] = "lord of rings online"; games[2] = "aion"; games[3] = "eve online"; games[4] = "final fantasy xi"; games[5] = "city of heros"; games[6] = "champions online"; games[7] = "dark age of camelot"; games[8] = "warhammer online"; games[9] = "age of conan"; function pageloaded(){ var list = ""; for(i=0; i<games.length; i++){ list ="<li>"+games[i]+"</li>"; ...