E
E
e1s2015-07-31 14:45:08
HTML
e1s, 2015-07-31 14:45:08

How to make the rest inactive and empty when selecting a checkbox in VBScript?

On a normal html page there are several checkboxes like

<input id="All" type="checkbox" checked />
<input id="Valid" type="checkbox"  />
<input id="Dissolved" type="checkbox"  />

How to make it so that if one of them is selected, the rest are not available, preferably in VBScript (although it is possible in other languages, if it is more convenient there)
And why when I try to check whether it is selected or not, I get back a value of the form True\False instead of True\False?
allContract = document.getElementById("All").Checked

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
Fedor, 2015-07-31
@whyamiscott

Use radio buttons.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question