로그인창에 글씨 않보이게 하려구요. 정보
로그인창에 글씨 않보이게 하려구요.본문
수고많으십니다.
로그인, 비밀번호 입력공간에 글씨가 나타나 있는 것을 없애고 싶습니다.
어떻게 해야할지요?
<table width="100" align='left' border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="100" height="23" colspan="2" align="left">
<input name="mb_id" type="text" class=ed size="12" maxlength="20" required itemname="아이디" value='아이디' onMouseOver='chkReset(this.form);' onFocus='chkReset(this.form);'>
</td>
</tr>
<tr>
<td id=pw1 width="100" height="23" colspan="2" align="left">
<input type="text" class=ed size="12" maxlength="20" required itemname="패스워드" value='패스워드' onMouseOver='chkReset(this.form);' onfocus='chkReset(this.form);'></td>
<td id=pw2 style='display:none;' width="100" height="23" colspan="2" align="left">
<input name="mb_password" id="outlogin_mb_password" type="password" class=ed size="12" maxlength="20" itemname="패스워드" onMouseOver='chkReset(this.form);' onfocus='chkReset(this.form);' onKeyPress="check_capslock(event, 'outlogin_mb_password');"></td>
</tr>
</table>
로그인, 비밀번호 입력공간에 글씨가 나타나 있는 것을 없애고 싶습니다.
어떻게 해야할지요?
<table width="100" align='left' border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="100" height="23" colspan="2" align="left">
<input name="mb_id" type="text" class=ed size="12" maxlength="20" required itemname="아이디" value='아이디' onMouseOver='chkReset(this.form);' onFocus='chkReset(this.form);'>
</td>
</tr>
<tr>
<td id=pw1 width="100" height="23" colspan="2" align="left">
<input type="text" class=ed size="12" maxlength="20" required itemname="패스워드" value='패스워드' onMouseOver='chkReset(this.form);' onfocus='chkReset(this.form);'></td>
<td id=pw2 style='display:none;' width="100" height="23" colspan="2" align="left">
<input name="mb_password" id="outlogin_mb_password" type="password" class=ed size="12" maxlength="20" itemname="패스워드" onMouseOver='chkReset(this.form);' onfocus='chkReset(this.form);' onKeyPress="check_capslock(event, 'outlogin_mb_password');"></td>
</tr>
</table>
댓글 전체
value안에 있는것을 지워주세요
아이디는 value 지우니, 되는데...
패스워드는 value를 지우니, 이런창이 뜹니다. "패스워드: 입력이 필수입니다."
다시 한번 부탁드립니다.
감사합니다.
패스워드는 value를 지우니, 이런창이 뜹니다. "패스워드: 입력이 필수입니다."
다시 한번 부탁드립니다.
감사합니다.
value='아이디' onMouseOver='chkReset(this.form);' onFocus='chkReset(this.form);'
value=''만하시면되지않아요? mouseover/focus 까지 지우고요
value=''만하시면되지않아요? mouseover/focus 까지 지우고요
마찬가지로 아이디는 되는데...
패스워드는 '패스워드: 입력이 필수입니다.' 라는 창이 뜹니다.
감사합니다 ^^
패스워드는 '패스워드: 입력이 필수입니다.' 라는 창이 뜹니다.
감사합니다 ^^