• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

DOJO -calendar

 
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I am new to DOJO.

I am trying to get a Date Range from user by displaying calendar:


<html>
<head>
<script src="http://o.aolcdn.com/dojo/1.2.3/dojo/dojo.xd.js" type="text/javascript"
djConfig="parseOnLoad:true, isDebug:false">
</script>
<style type="text/css">
@import "http://o.aolcdn.com/dojo/1.2.3/dijit/themes/tundra/tundra.css";
@import "http://o.aolcdn.com/dojo/1.2.3/dojo/resources/dojo.css";
</style>
<script type="text/JavaScript">
dojo.require("dijit.form.DateTextBox");
</script>
</head>
<body class="tundra">

Enter a date below:


<input dojoType="dijit.form.DateTextBox"
constraints="{datePattern:'MM/dd/yyyy', max: new Date()}"
/>

</body>
</html>

This code displays date textbox and a calendar.

I would like to get only one calendar for two textboxes, Like: FromDate: "a textbox" To date : "a textbox". For both the textboxes it should display only one calendar.

Is this possible using dojo calendar.Please help

Thanks,
Yuga













 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
No one really who answers questions around these parts uses Dojo, You may get a faster answer if you post in their forums http://www.dojotoolkit.org/forum

Eric
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic