OLD | NEW |
1 A form control in initially disabled fieldset: | 1 A form control in initially disabled fieldset: |
2 PASS control1.willValidate is false | 2 PASS control1.willValidate is false |
3 Then, enables the fieldset: | 3 Then, enables the fieldset: |
4 PASS document.getElementById("f1").disabled = false; control1.willValidate is tr
ue | 4 PASS document.getElementById("f1").disabled = false; control1.willValidate is tr
ue |
5 A form control in initially enabled fieldset: | 5 A form control in initially enabled fieldset: |
6 PASS control2.willValidate is true | 6 PASS control2.willValidate is true |
7 Then, disables fieldset: | 7 Then, disables fieldset: |
8 PASS fieldset2.disabled = true; control2.willValidate is false | 8 PASS fieldset2.disabled = true; control2.willValidate is false |
9 Detach the form control from the fieldset: | 9 Detach the form control from the fieldset: |
10 PASS fieldset2.removeChild(control2); control2.willValidate is true | 10 PASS fieldset2.removeChild(control2); control2.willValidate is true |
11 | 11 |
12 | 12 |
OLD | NEW |