Appendix O. Datepicker
Method | Description | Return Value |
---|---|---|
Datepicker Methods | ||
| Makes the selected elements into datepickers (see "Datepicker Options"). | jQuery |
| Changes settings for a previously attached datepicker. | jQuery |
| Opens a datepicker in a dialogue box. | jQuery |
| Disables a datepicker. | jQuery |
| Enables a datepicker. | jQuery |
| Determines whether a datepicker field has been disabled. | Boolean |
| Closes a previously open datepicker. | jQuery |
| Calls up a previously attached datepicker. | jQuery |
| Disconnects the datepicker functionality from its associated control. | jQuery |
| Retrieves the current date(s) for a datepicker. | Date or Date[2] |
| Sets the current date(s) for a datepicker. | jQuery |
Datepicker Options
Option | Description | Type |
---|---|---|
| The text to display for the clear link. The default is | String |
| The text to display in the status bar for the clear link. The default is | String |
|
| Boolean |
| The text to display for the | String |
| The text to display in the status bar for the close link. The default is | String |
|
Get Beginning JavaScript® and CSS Development with jQuery now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.