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=15023>. 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=15023 Use attribute 'id' instead of 'name' in html:form-Tag ------- Additional Comments From [EMAIL PROTECTED] 2002-12-10 03:34 ------- Yes, the syntax you reference seems to work fine. I created the following XHTML Strict page and it works and validates at http://validator.w3.org. Tested on Mozilla 1.2, Chimera 0.6 and IE 5.2 all on a Mac. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>XHTML Strict Form</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> </head> <body> <form action="" method="get" id="myForm"> <p> <label for="test">Test:</label> <input type="text" id="test" name="test" value="This is a test value!" /> <br /> <input type="button" id="getValue" name="getValue" value="show value" onclick="showValue()" /> </p> </form> <script type="text/javascript"> function showValue() { var form = document.forms["myForm"]; alert(form.test.value); } </script> </body> </html> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
