Opened 11 years ago
Closed 11 years ago
#10999 closed defect (wontfix)
dijit - Form inside a Dialog - dojo.byId return null with IE7
Reported by: | Mathevet julien | Owned by: | |
---|---|---|---|
Priority: | high | Milestone: | tbd |
Component: | Dijit | Version: | 1.4.2 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
I would like to submit a form with xhrPost. This form is inside a Dialog widget. But dojo.byId return null on this form with IE7 only. So I try to use dijit.byId which return the widget and then to use dojo.byId on this widget. But it return the widget instead of domNode.
I attached an example.
Attachments (1)
Change History (2)
Changed 11 years ago by
Attachment: | test_FormAndDialog.html added |
---|
comment:1 Changed 11 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
That's a weird one. No idea why IE7 is having that problem, but it seems pretty isolated to this test case. Even a dijit.form.Form widget declared inside of a
<div style="display: none">
works fine.Anyway, you can get the DOMNode via
dijit.byId("myAccountForm").domNode
.I'm gonna mark this as wontfix since there's a workaround and since I don't have any idea how to fix it. If for some reason the workaround doesn't work then please reopen.