district 非others时,隐藏用户自定义district

This commit is contained in:
duandongmei
2018-08-01 09:32:20 +08:00
parent ce1341303c
commit 066f1c3d1d

View File

@@ -114,6 +114,8 @@
function changeDistrict(obj){
if("others"==obj.val()){
obj.parent().siblings(".otherValue").prop("type","text");
}else{
obj.parent().siblings(".otherValue").prop("type","hidden");
}
}
</script>