From 70fe42f359d5dc98a1dffbb0933946ac2ad68d5b Mon Sep 17 00:00:00 2001 From: guanghongwei Date: Sun, 1 Feb 2015 23:33:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9script=E4=BD=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/js/base.js | 32 +++++++++++++++++++++++++++ templates/head_script.html | 45 ++++++-------------------------------- 2 files changed, 39 insertions(+), 38 deletions(-) diff --git a/static/js/base.js b/static/js/base.js index 303b58964..5a425c8d5 100644 --- a/static/js/base.js +++ b/static/js/base.js @@ -59,3 +59,35 @@ function GetTableDataBox() { return returnData; } + +function selectAll(){ + var checklist = document.getElementsByName ("selected"); + if(document.getElementById("select_all").checked) + { + for(var i=0;i - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +