主题类别列表导航显示备份
// $(function(){ $.ajax({ type:"POST", dataType: "json", url:"<%=basePath%>TopicServlet.serv", data:"doaction=topicTypeListFront", success:function(data){ var len=data.length; htmlStr = "<table width='100%'>"; htmlStr += "<tr>"; for(i=0;i<len;i++){ htmlStr += "<td style='text-align: center;'>"; htmlStr+="<a href="javascript:findByTopicType('"+data[i].id+"');">"+data[i].name+"</a>"; htmlStr += "</td>"; htmlStr += "<td>"; if((i+1)!=len){ htmlStr+="|"; } htmlStr += "</td>"; } htmlStr += "</tr>"; htmlStr += "</table>"; $("#divTopicTypeList").html(htmlStr);} } ); });