Description: I am working again on a project that uses the Yahoo User Interface Library (YUI). One of the requirements for the project is an input calendar field. When I first began the project, I created an event listener (Event.Listener) as discussed in a previous post. But, because a date field is fairly common in web applications, I wanted to create a widget so that I would not have to duplicate the process in future projects. To my surprise, YUI does not already have a widget with this functionality, so I decided to create one. This widget can be used with a one or multiple input fields. When a user clicks on the input field, the calendar appears. Select a date and the date is automatically inserted into the input field.
Related: be used, began, automatically inserted, discussed, appears select, but because, calendar appears, common, clicks, can be, calendar field, and the, Input, would not have, Functionality, Widget, Yahoo, yahoo user
O/S:BSD, Linux, Solaris, Mac OS X
File Size: 10.0 KB