//设置id为checkPwd显示的属性
$('#checkPwd').attr('show', 'show');
$('#checkPwd').attr('show', 'hide');
//设置id为checkPwd隐藏,显示
$('#euiPassword').hide();
$('#euiPasswordOne').show();
//设置id为checkPwd显示的属性
$('#checkPwd').attr('show', 'show');
$('#checkPwd').attr('show', 'hide');
//设置id为checkPwd隐藏,显示
$('#euiPassword').hide();
$('#euiPasswordOne').show();
转载于:https://www.cnblogs.com/xunfang123/p/4196376.html