Task: On the coach exist two date selectors. How to create choice the date range so that when you select a date in the first control, in the second it was impossible to pick a date less than selected in the first.
//We get the widget that represents the left boundary of the range.
var w1 = dijit.byId("DateSelector0");
//We get the widget that represents the right boundary of the range.
var w2 = dijit.byId("DateSelector1");
//Connect onChange event listener to date box of the first widget
//Set first widget value as min constraint for second widget
//Connect onChange event listener to date box of the second widget
//Set second widget value as max constraint for first widget
Where DateSelector0 and DateSelector1 - your date selector controls IDs.
That is all :)