我有一个带有select且option values为0和1的表格,并且只有input设置为1时才应验证的一个select形式。
select
option values
input
我如何使输入字段上的回调函数仅在选定值为1时才被调用。
尝试一下: