回菜鸟:
if ((parseInt(document.forms[0].txtbright.value) < 129) & (parseInt(document.forms[0].txtbright.value) > 1) &
(parseInt(document.forms[0].txtcontrast.value) < 129) & (parseInt(document.forms[0].txtcontrast.value) > 1) & (parseInt(document.forms[0].txthue.value) < 129) & (parseInt(document.forms[0].txthue.value) > 1))
{
}原理:
if ((?) & (?) & (?))
{
}
if ((parseInt(document.forms[0].txtbright.value) < 129) & (parseInt(document.forms[0].txtbright.value) > 1) &
(parseInt(document.forms[0].txtcontrast.value) < 129) & (parseInt(document.forms[0].txtcontrast.value) > 1) & (parseInt(document.forms[0].txthue.value) < 129) & (parseInt(document.forms[0].txthue.value) > 1))
{
}原理:
if ((?) & (?) & (?))
{
}
(parseInt(document.forms[0].txtcontrast.value) < 129) and (parseInt(document.forms[0].txtcontrast.value) > 1) &&
(parseInt(document.forms[0].txthue.value) < 129) and (parseInt(document.forms[0].txthue.value) > 1)){....
}