John Iannicello![]()
Simple example that just renders widget and gets the date.
Custom events not included in example:
<script src="http://yui.yahooapis.com/3.5.1/build/yui/yui-min.js"></script>YUI({
//Last Gallery Build of this module
gallery: 'gallery-2012.05.16-20-37'
}).use('gallery-icello-datechooser', function (Y) {
Y.on('domready', function (e) {
Y.log('', 'info', 'domready');
var cal = new Y.Icello.DateChooser({
inputNode: '#txtDate' //format is '1/1/2012'
});
cal.render();
//to get date at any time
cal.get('date');
});
});
© 2006-2013 Yahoo! Inc. All rights reserved.
All code on this site is licensed under the BSD License unless stated otherwise.
About This Site · Security Contact Info