View Full Version : CHECK ALL - CheckBox
Cologne
05-10-2009, 10:59 AM
Hi,
I need to have a CheckAll CheckBox that works with DA. I have lots of database entries, that I want to DELETE with only one CheckBox if I want to delet em all.
Can someone tell me how that works?
Cheers
Denis
Ray Borduin
05-11-2009, 08:13 AM
You would have to use client-side javascript if you want to have a checkbox that will automatically check all of the others.
Cologne
05-11-2009, 08:23 AM
this is what i thought, does anyone know how to use it. how the code is?
Ray Borduin
05-11-2009, 09:05 AM
I googled it and found this:
http://www.shiningstar.net/articles/articles/javascript/checkboxes.asp
Cologne
05-11-2009, 09:14 AM
hmm, but doesnt DA uses NAME for the checkbox.
Ray Borduin
05-11-2009, 09:56 AM
It doesn't matter. ID is better to use when doing client side scripting. It won't interfere.
vBulletin® v3.8.1, Copyright ©2000-2012, Jelsoft Enterprises Ltd.