www.gusucode.com > 4077网博士成品网站管理系统网站源码php模板代码程序 > 4077/4077/tools/admin/js/mark_detail.js
$(document).ready(function(){ $(".list").click(function(){ var id = (this.id).substr(8); id = "#tr_detail_" + id; $(".trdetail").each(function(){ $(this).hide(); }); $(id).show(); }); $(".list").dblclick(function(){ var id = (this.id).substr(8); id = "#tr_detail_" + id; $(id).hide(); }); });