In the evening, a member of Fujian on QQ has a doll to achieve this effect:
A check box, a drop-down box, when the check box is hitting the champion, turning off the champion, turning off the hook, becomes a gray (ie DISABLED). Even I think, very simple, a few lines of code It can be realized, the test code is as follows:
Function test ()
{
IF (! form1.a.checked) // if The checkbox 'a' is not checked the disable 'b'
{
Form1.b.disabled = true;
}
Else
{
Form1.b.disabled = false;
}
}
// ->
Script>