& ltinput type = " text " name = " bb " & gt
var aa = $('input[name=aa]')。value();
var bb = $('input[name=bb]')。value();
If( aa == "指定值"){
If(bb == ''){提示,返回false}否則{
其他操作
}