Input Checkbox indeterminate attribute
Definition and Usage
indeterminate
Property setting or return whether the checkbox status has changed.
The checkbox actually has three states: true, false, and indeterminate, which means the checkbox is neither 'on' nor 'off'.
The checkbox cannot be set to an indeterminate state through HTML attributes - it must be set through JavaScript.
This state can be used to force the user to select or deselect the checkbox.
Example
Set the checkbox to indeterminate state:
document.getElementById("myCheck").indeterminate = true;
Syntax
return indeterminate attribute:
checkboxObject.indeterminate
set indeterminate attribute:
checkboxObject.indeterminate = true|false
প্রতিভাত্ত্ব
মান | বর্ণনা |
---|---|
true|false |
চেকবক্সের অবস্থা নির্ধারণ সম্ভাব্য মান
|
প্রযুক্তিগত বিবরণ
ফলাফল | বলুয়ান মান্যতা, যদি চেকবক্স অনিশ্চিত অবস্থায় থাকে তবে ফিরিয়ে দেওয়া হবে true অন্যথায় false 。 |
ব্রাউজার সমর্থন
চ্রোম | এজ | ফায়ারফক্স | স্যাফারি | ওপেরা |
---|---|---|---|---|
চ্রোম | এজ | ফায়ারফক্স | স্যাফারি | ওপেরা |
সমর্থন | সমর্থন | সমর্থন | সমর্থন | সমর্থন |