Opened 14 years ago
Closed 14 years ago
#2344 closed defect (duplicate)
dojo.byId() returns null on IE6 when form has input field with name=id attribute.
Reported by: | Owned by: | anonymous | |
---|---|---|---|
Priority: | high | Milestone: | 0.9 |
Component: | Core | Version: | 0.4.1 |
Keywords: | byId null ie name input id | Cc: | |
Blocked By: | Blocking: |
Description
byId() returns null on IE6 when form has input field with name=id attribute. Dojo version 0.4.1. pl. check the code below...
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <script type="text/javascript"> var djConfig = { isDebug: true }; </script> <script type="text/javascript" src="js/dojo/dojo.js"></script> <script type="text/javascript"> dojo.require("dojo.debug.console"); dojo.require("dojo.lang.*"); dojo.require("dojo.event.*"); dojo.addOnLoad(function() { dojo.debug("dojo.byId() on form with <input name='id' : " +dojo.byId("buggyForm")); }); </script> </head> <body> <form id="buggyForm"> <input name="id"> </form> </body> </html>
Change History (2)
comment:1 Changed 14 years ago by
comment:2 Changed 14 years ago by
Milestone: | → 0.9 |
---|---|
Resolution: | → duplicate |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
duplicate: see #2248