Introducing the utility methods
We used one of the utility methods available in a datepicker in the previous example, setDefaults
is used to set configuration options on all datepicker instances. In addition to this, there are several other utility methods that we can use; these are shown in the following table:
Utility |
Used to… |
---|---|
|
Transform a While using the |
|
Return the week number that a specified date falls on according to the ISO 8601 date and time standard. This method accepts a single argument—the date... |