r1 - 25 Oct 2007 - 02:36:57 - Main.DovKatzYou are here: TWiki >  JSLoader Web > DemoList > DojoDijitDateChooserDemo

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.

Enter a date
<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>
Edit | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r1 | More topic actions
 
Powered by TWiki
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback