how to create list using jquery
how to create an unordered list using jquery which should contain images as items and behind the images link should be given to a specific function
i.e onClick on the list item it should call ce开发者_StackOverflowrtain function
If you must add using jquery:
$('body').append('<ul id="test" />');
$('#test').append('<li>'+data+'</li>')
$('ul li').click(function(){
//onclick event
})
精彩评论