hello,
I'm trying to give the checkbox an indeterminate value instead of checked or unchecked .
so I tried:
document.getElementById("checkboxId").indeterminate = true;
it works fine on i.e. 7 and 8 but doesn't work in firefox :S
Any idea?
Page 1 of 1
Indeterminate check state checkbox state: Checked, Unchecked, Indeterminate
#2
Posted 23 June 2010 - 05:12 AM
In my understanding a checkbox has exactly 2 states: checked or unchecked. Can't see how a "intermediate" state should work. Half checked?
Maybe what you want is to save data with a DOM element. You could use jQuery.data() for that.
Maybe what you want is to save data with a DOM element. You could use jQuery.data() for that.
#3
Posted 23 June 2010 - 04:02 PM
the only 'third' state I can think of is 'disabled' ... but that's probably not what IE7 & 8 do is it ?
ciao
ciao
#4
Posted 26 June 2010 - 09:54 AM
no their is a third state: tristate or indeterminate i use it to make clear that the checked data is used for other sub checkbox you can see it in i.e if you use document.getElementById(checkboxid).indeterminate = true;
well my probleme is in firefox doesn't appear :S
any help
well my probleme is in firefox doesn't appear :S
any help
#5
Posted 26 June 2010 - 10:22 AM
Share this topic:
Page 1 of 1

Help















