[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] property/check.js, 1.1.1.2
From: |
nomail |
Subject: |
[Phpgroupware-cvs] property/check.js, 1.1.1.2 |
Date: |
Sat, 19 Jun 2004 23:41:04 +0200 |
Update of /property
Modified Files:
Branch:
check.js
date: 2004/06/19 21:41:04; author: sigurdne; state: Exp; lines: +29 -0
Log Message:
no message
=====================================================================
Index: property/check.js
diff -u property/check.js:1.1.1.1 property/check.js:1.1.1.2
--- property/check.js:1.1.1.1 Wed Jun 2 20:06:49 2004
+++ property/check.js Sat Jun 19 21:41:04 2004
@@ -27,3 +27,32 @@
}
}
}
+
+function check_all_radio2(which)
+{
+ for (i=0; i<document.form2.elements.length; i++)
+ {
+ if (document.form2.elements[i].type == "radio" &&
document.form2.elements[i].value == which)
+ {
+ document.form2.elements[i].checked = true;
+ }
+ }
+}
+
+function check_all_checkbox2(which)
+{
+ for (i=0; i<document.form2.elements.length; i++)
+ {
+ if (document.form2.elements[i].type == "checkbox" &&
document.form2.elements[i].name.substring(0,which.length) == which)
+ {
+ if (document.form2.elements[i].checked)
+ {
+ document.form2.elements[i].checked = false;
+ }
+ else
+ {
+ document.form2.elements[i].checked = true;
+ }
+ }
+ }
+}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] property/check.js, 1.1.1.2,
nomail <=