diff options
Diffstat (limited to 'include/scripts.js')
-rw-r--r-- | include/scripts.js | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/include/scripts.js b/include/scripts.js new file mode 100644 index 000000000..43fb86644 --- /dev/null +++ b/include/scripts.js @@ -0,0 +1,32 @@ +function SelectAll( formulaire ) +{ +len = formulaire.elements.length; +var i=0; +for( i = 0; i < len; i++) +{ + if ( formulaire.elements[i].type=='checkbox' + && formulaire.elements[i].name != 'copie') + { + formulaire.elements[i].checked = true; + } +} +} + +function Inverser( formulaire ) +{ +len = formulaire.elements.length; +var i=0; +for( i=0; i<len; i++) +{ + if ( formulaire.elements[i].type=='checkbox' + && formulaire.elements[i].name != 'copie') + { + formulaire.elements[i].checked = !formulaire.elements[i].checked; + } +} +} + +function phpWGOpenWindow(theURL,winName,features) +{ + window.open(theURL,winName,features); +}
\ No newline at end of file |