적격성 검사를 했더니 이렇게 나오는데요...
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.
onsubmit 에러
-
- 해커
- Posts: 691
- Joined: 2004 08 11 22:14 59
- Contact:
Who is online
Users browsing this forum: No registered users and 3 guests