테스트 사이트 - 개발 중인 베타 버전입니다

로그인시 아이디나 패스워드 공백이...

· 14년 전 · 1742 · 3
[code]
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><table style="margin-left:3px; border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="22" valign="top"></td>
<td valign="top"><input class="outLogin b" name="mb_id" type="text" maxlength="20" required="required" itemname="아이디" onmouseover='chkReset(this.form);' onfocus='chkReset(this.form);' /style="border-width:1px; border-color:rgb(204,204,204); border-style:solid;"></td>
<td valign="top"></td>
</tr>
<tr>
<td></td>
<td id="pw1"><input name="textfield22" type="password" class="outLogin b" /style="border-width:1px; border-color:rgb(204,204,204); border-style:solid;"></td>
<td id="pw2" style="display:none; padding:0px 0px 0px 0px;">
<input class="outLogin b" name="mb_password" type="password" maxlength="20" onmouseover='chkReset(this.form);' onfocus='chkReset(this.form);' /style="border-width:1px; border-color:rgb(204,204,204); border-style:solid;"></td>
</tr>
</table></td>
<td width="65" align="right" valign="bottom"><input name="image2" type="image" onfocus="blur()" src='<?=$outlogin_skin_path?>/img/outLogin_btnLogin.gif' border="0" /></td>
</tr>
</table>
[/code]
이런 로그인 인데요..
평소에 잘되다가 한번씩 "아이디나 패스워드에 공백이 있으면 안됩니다." 가뜹니다.
왜그럴까요?

댓글 작성

댓글을 작성하시려면 로그인이 필요합니다.

로그인하기

댓글 3개

공백이 있어서요.... 라고 일단 말씀을 드리고 싶구요.
해당 소스에서 "아이디나 패스워드에 공백이 있으면 안됩니다." 가 써있는 부분에
어떤조건으로 인해 위 문구가 뜨는지 확인해보시면 금방아실수 있을꺼에요~

저런 경고 문구는 alert에 의한 문구니까~ 자바스크립트를 한번 찾아보세용~^^;;
if (!trim($mb_id) || !trim($mb_password)) 이부분이요?
어디에 공백이있죠?
헐,,,아무리봐도 모르겠네요.
"><input class="outLogin b" name="mb_id" type="text" maxlength="20" required="required" itemname="아이디" onmouseover='chkReset(this.form);' onfocus='chkReset(this.form);' /style="border-width:1px; border-color:rgb(204,204,204); border-style:solid;">
별상관이 없어 보이기도 하지만
style 앞에 / 빼보시길..

게시글 목록

번호 제목
284508
284499
284492
284490
284484
284481
284478
284476
284474
284472
284470
284458
284457
284454
284453
284447
284446
284444
284441
284440