var AddType = document.getElementById("addressType.form-control");
var otherAdd = document.getElementById("otherAddType.form-control");
AddType.addEventListener("show", function(){
if (AddType.value = "other"){
otherAdd.setAttribute("class", "show");
}else {
otherAdd.setAttribute("class", "hidden");
}
}, false);
评论
请
登录后发表观点
- 积分
0 - 话题
0 - 评论
3303 - 注册排名
2608