Dojo Dijit Date Chooser Demo
Here's my first dojo demo. Thanks to
this page. I'm sure it's due to my ignorance but it seems a bit annoying that I need the BODY class to be "tundra" for the skin to apply itself. So right now, on-load, I set the classname of the BODY element manually in javascript.
<script src="/assets/jsloader.js"></script>
<script>
djConfig={ parseOnLoad:true};
JSLoader.getLoader("ria","dojo","1.0.0beta")
.loadAll(["dojo","dijit","tundra"]);
</script>
<script type="text/javascript">
dojo.require("dojo.parser");
dojo.require("dijit.form.DateTextBox");
</script>
<form>
Enter a date:
<input type="text"
name="date1" value="2005-12-30"
dojoType="dijit.form.DateTextBox" required="true" />
</form>