www.gusucode.com > cso中国seo优化html整站源码程序 > include/jquery.admin.js
function del(){ if (confirm("确认要删除?")) return true; else return false; } $(document).ready(function(){ $("table tbody tr:even").addClass("even"); $("table tbody tr").mouseover(function(){ $(this).addClass("msov").mouseout(function(){ $(this).removeClass("msov"); }); }); $("#allbtn").click(function(){ if($(this).val()=="全选"){ $(this).val("取消"); $("#allc input").attr({checked:"checked"}); } else{ $(this).val("全选"); $("#allc input").attr({checked:""}); } }); $("#classid select").change(function(){ $("#smallid").load("/manage/ajax/smallid.asp?classid="+$("#classid select").val()); }); });