<html>
<head>
<script src="http://ajax.googleapis.com/ajax/libs/dojo/1.6/dojo/dojo.xd.js" djConfig="parseOnLoad: true"/>
<link rel="stylesheet" type="text/css" href="http://ajax.googleapis.com/ajax/libs/dojo/1.6/dijit/themes/claro/claro.css" />
<script type="text/javascript">
dojo.require("dijit.form.DateTextBox");
</script>
</head>
<body>
<label for="fromDate">Fromfd:</label>
<input id="fromDate" type="text" name="fromDate" dojoType="dijit.form.DateTextBox" required="true" onChange="dijit.byId('toDate').constraints.min = arguments[0];"/>
</body>
</html>
Asked
Active
Viewed 562 times
-2

Chris Eberle
- 47,994
- 12
- 82
- 119

Kiran
- 115
- 1
- 3
- 8
-
2As a general rule, if others are going to be reading your code it's common courtesy to put some effort into formatting it nicely. – Chris Eberle Jun 02 '11 at 15:10
-
1For future reference, write a bit more text in your question about the problem. Writing a 7-word question in the title and dumping only code in the question body will lead to closed questions. – Lasse V. Karlsen Jun 02 '11 at 15:29