Opened 9 years ago

Closed 9 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)

test_FormAndDialog.html (3.3 KB) - added by Mathevet julien 9 years ago.

Download all attachments as: .zip

Change History (2)

Changed 9 years ago by Mathevet julien

Attachment: test_FormAndDialog.html added

comment:1 Changed 9 years ago by bill

Resolution: wontfix
Status: newclosed

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.

Note: See TracTickets for help on using tickets.