skip to Main Content

appendTo based on title and type – Jquery ajax

I need to sort the songs based on the series title and type of the song. I'm using jQuery UI Menu: <ul id="menu"></ul> for(y = 0; y<tytuly.length; y++){ $('<li><div>'+tytuly[y]+'</div><ul><li><div>Openingi</div><ul id="ops'+y+'"></ul></li><li><div>Endingi</div><ul id="eds'+y+'"></ul></li><li><div>Inserty</div><ul id="ins'+y+'"></ul></li></ul></li>').appendTo('#menu'); } I load content using Ajax (Example Data):…

VIEW QUESTION
Back To Top
Search