#7335 closed defect (invalid)
dijit.form.DateTextBox not rendered in IE
Reported by: | rboy | Owned by: | |
---|---|---|---|
Priority: | high | Milestone: | tbd |
Component: | Dijit - Form | Version: | 1.1.0 |
Keywords: | dijit.form.DateTextBox IE render | Cc: | |
Blocked By: | Blocking: |
Description
Hi , I have this problem during dev. using dojo I've 3 tabs in a tabcontainer , each one containing a form and the last 2 tabs contained a input field which I want them to be "dijit.form.DateTextBox?" with a Calendar widget. So I use
setAttribute("dojoType","dijit.form.DateTextBox?");
to make them so. But things in tab2 is ok ,but in tab3 the attribute was set but not rendered. This problem only happens in IE
Change History (5)
comment:1 Changed 13 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:2 Changed 13 years ago by
Resolution: | invalid |
---|---|
Status: | closed → reopened |
Thank you for your reply, I now switched in the "new Something" method to declare. But in FF , I used a lot of "setAttribute("dojoType","dijit.form.DateTextBox??");" things to dynamically draw elements on the page and they are all ok.But in IE, it sometimes failed. So I can only say that IE is really shit.
Have you ever came across same problem?
comment:3 Changed 13 years ago by
Resolution: | → invalid |
---|---|
Status: | reopened → closed |
rboy: definitely, search google for "IE setAttribute bugs". Instead use dojo.attr ( http://api.dojotoolkit.org/jsdoc/dojo/HEAD/dojo.attr ) for setting attributes.
comment:5 Changed 10 years ago by
Component: | Dijit → Dijit - Form |
---|
That's not the way to instantiate; you should read the dojo book (accessed through the main website, dojotoolkit.org) for information on programmatic instantiation.