onsubmit 에러

국내에 웹 사이트들이 웹 표준을 지키고 OS나 브라우저와 관계 없이 접근성을 향상 시키기 위한 사이트 버그 신고 및 문제 해결을 위한 게시판입니다.
Post Reply
저격수장금

onsubmit 에러

Post by 저격수장금 »

적격성 검사를 했더니 이렇게 나오는데요...
onsubmit 만 지워주면 적격문서라고 나와요.
strict.dtd 선언해주었구요.

이거 정말 문제가 없는것 같은데 한번 에러나면 해결하기가 쉽지가 않네요 이긍;;




Line 19, column 68: there is no attribute "onSubmit"

...rm" method="post" action="login_ok.php" onSubmit="return loginfrm();">

You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead).

This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information.

How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute.
hyeonseok
해커
해커
Posts: 691
Joined: 2004 08 11 22:14 59
Contact:

Post by hyeonseok »

XHTML 은 대소문자를 구분하고 모든 어트리뷰트는 소문자 입니다.

onSubmit 이 아니라 onsubmit 이라고 하시면 될 것 같군요.
저격수장금

Post by 저격수장금 »

고맙습니다. ^^

이리 간단한....에고;; 기초가 부실해서리 --;;
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests