Opened 13 years ago

Closed 13 years ago

Last modified 12 years ago

#1415 closed defect (fixed)

Internet Explorer document.getElementById bug (dojo.byId is affected)

Reported by: guest Owned by: Douglas Hays
Priority: blocker Milestone:
Component: General Version: 0.3
Keywords: Cc: peller@…
Blocked By: Blocking:

Description

example: http://www.csb7.com/test/ie_getelementbyid_bug/index.php

in internet explorer dojo.byId doesn't always return the correct value It's a browser bug, but maybe it's possible to have a workaround in the dojo function

Attachments (2)

ie_byId_bug.html (3.0 KB) - added by jan831 13 years ago.
should be placed in ./tests/html/
1415.patch (1014 bytes) - added by Douglas Hays 13 years ago.
changed dojo.byId to detect the IE bug

Download all attachments as: .zip

Change History (6)

Changed 13 years ago by jan831

Attachment: ie_byId_bug.html added

should be placed in ./tests/html/

Changed 13 years ago by Douglas Hays

Attachment: 1415.patch added

changed dojo.byId to detect the IE bug

comment:1 Changed 13 years ago by Douglas Hays

Cc: peller@… added
Owner: changed from anonymous to Douglas Hays

Please test with the attached patch.

comment:2 Changed 13 years ago by jan831@…

tested this patch applied to the svn source code, and dojo.byId works as it should be ( bug is fixed)

(tested with IE6.0 on WinXP)

comment:3 Changed 13 years ago by bill

Resolution: fixed
Status: newclosed

(In [5739]) Fixes #1415 (dojo.byId fails due to IE bug confusing name attribute and id attribute)

Patch from Doug Hays (IBM, CCLA on file)

comment:4 Changed 12 years ago by (none)

Milestone: 0.4

Milestone 0.4 deleted

Note: See TracTickets for help on using tickets.