Opened 15 years ago
Closed 14 years ago
#456 closed defect (wontfix)
getElementsByClass fails on mozilla richedit content
Reported by: | Owned by: | Bryan Forbes | |
---|---|---|---|
Priority: | high | Milestone: | 0.9 |
Component: | Widgets | Version: | 0.2 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
getElementsByClass function seems to work fine on the html editor richtext part in ie, but fails miserably to deliver anything in content within the mozilla rich text editor.
a href within the rich text content with a class="myFaces_SpellingError". The href is shown and triggerf
now if I trigger following code: var errorHrefs = dojo.html.getElementsByClass("myfaces_SpellingError", document,"*",0); errorHrefs is an empty array while on the same content the whole thing is returned back as an array with all the hrefs set to class="myfaces_SpellingError"
I am not sure if this is fixable, a workaround is to set the code directly within the href which has to be triggered instead of pushing it in afterwards. via dom element alteration, so that getElementsByClass calling is not needed. As I said I am not sure if this is fixable, but definitely worth an investigation.
Change History (7)
comment:1 Changed 15 years ago by
Priority: | high → normal |
---|---|
severity: | normal → major |
comment:2 Changed 15 years ago by
Milestone: | → 0.5 |
---|
comment:3 Changed 15 years ago by
Milestone: | 0.5 → 0.4 |
---|---|
Owner: | changed from anonymous to Bryan Forbes |
comment:4 Changed 15 years ago by
comment:5 Changed 15 years ago by
Milestone: | 0.4 → 0.4.1 |
---|
comment:6 Changed 14 years ago by
Milestone: | 0.4.1 → 0.5 |
---|
comment:7 Changed 14 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Functionality replace by dojo.query()
Bryan, is this still an issue after your html refactor?