File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

DOJO -calendar

 
yuga devi
Greenhorn
Posts: 22
  • 0
  • Mark post as helpful
  • send pies
  • 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













 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • 0
  • Mark post as helpful
  • send pies
  • 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.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic