var html = $.templates("#Info_Tmpl").render(data.result.DataSource); $('#dl-list').html(html); } else { alert(data.Message); } }, totalName: 'result.TotalCount' } }); } var bindLeftNavInfo = function (categoryID, temp, obj, pagesize, isRec) { $.get('/nsdszsyxx/Value/GetNavList', { cateID: categoryID }, function (data) { if (data) { if (data.result.DataSource.length > 0) { $("#con-left-nav").show(); var html = $.templates(temp).render(data.result.DataSource); $(obj).html(html); } } }); }