DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13454>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13454

adding focus to the <html:form> tag with two forms of the same name generates a 
javascript error





------- Additional Comments From [EMAIL PROTECTED]  2002-10-09 15:01 -------
Actually, according to the spec - all tags should be lowercase:

http://www.w3.org/TR/xhtml1/#h-4.8

Therefore, it should be <script...>

Also, I ran the following through the validator at http://validator.w3.org and 
it no errors were found for having 2 forms of the same name.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
<html xmlns="http://www.w3.org/1999/xhtml";>
<head>
<title>Roller :: Editor</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
</head>
<body>
        <div id="content"><h3>Upload File</h3>
                <form name="uploadFiles" method="post" 
action="/roller/uploadFiles.do?method=upload" 
            enctype="multipart/form-data">      Select an file from your 
computer<br/>
                        <input type="file" name="uploadedFile" size="30"/><br/>
                        <input type="submit" value="Submit"/>
                </form><h3>Manage Files</h3>
                <form name="uploadFiles" method="post" 
action="/roller/uploadFiles.do?method=delete">
                        <table class="rTable">
                                <tr class="rHeaderTr">
                                        <td>Filename</td>
                                        <td>Size</td>
                                        <td>Delete</td>
                                </tr>
                                <tr class="rEvenTr">
                                        <td class="rTd" colspan="3">No Files 
Found</td>
                                </tr>
                        </table>
                        <input type="submit" value="Delete"></input>
                </form>
        
    <script type="text/javascript">
    <!--
        document.forms[0].elements[0].focus();
    // -->
    </script>
        </div>
</body>
</html>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to