JQuery Fancybox is not working with data from JSON call
问题 $.getJSON("/Home/AjaxBrowse", { page: p ? p : 1 }, function (data) { var output = ""; jQuery.each(data.users, function (key, value) { output += '<li>' + "<div class=\"slidera_img\">" + "<a href=\"/image/viewImage/" + data.users[key].ImageId + "\" rel=\"example_group\">" + "<img src=\"/image/viewimage/" + data.users[key].ImageId + "?imageType=thumb\" width=\"100=\" height=\"100\" />" +"</a>" + "</div>" + ' </li>'; }); $("#namesList") .attr("start", data.pager.FirstItemOnPage) .html(output); $(