G 에디트에서 required 무시하고 넘기네요
그냥 submit 넘겨서
임시 방편으로
wr_content 에서 required 를 빼고 (두번 alert 창 나와서)
fwrite_check(f) { 안에
if (!f.wr_content.value) {
alert("내용을 입력해 주세요.");
return;
}
라고 넣었는데 조금 어정쩡해 보이네요
배추님 수정해 주세요
임시 방편으로
wr_content 에서 required 를 빼고 (두번 alert 창 나와서)
fwrite_check(f) { 안에
if (!f.wr_content.value) {
alert("내용을 입력해 주세요.");
return;
}
라고 넣었는데 조금 어정쩡해 보이네요
배추님 수정해 주세요
|
댓글을 작성하시려면 로그인이 필요합니다.
로그인
댓글 2개
if (wrestFld != null)
{
alert(wrestMsg);
wrestFld.style.backgroundColor = wrestFldBackColor;
wrestFld.focus();
return false;
}
아래의 코드로 변경하여 사용하시기 바랍니다.
if (wrestFld != null)
{
alert(wrestMsg);
if (wrestFld.style.display != 'none')
{
wrestFld.style.backgroundColor = wrestFldBackColor;
wrestFld.focus();
}
return false;
}
[http://www.sir.co.kr/img/emoticon/sg7.gif]