Skip to content

Commit

Permalink
Merge pull request #1287 from cheshireoctopus/master
Browse files Browse the repository at this point in the history
Add additional documentaion to methods
  • Loading branch information
acrobat committed Mar 4, 2015
2 parents 653ae5d + 59d5f50 commit 0b31bec
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/methods.rst
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@ If ``date`` is provided and is a Date object, it is assumed to be a "local" date
$('.datepicker').datepicker('update', '2011-03-05');
$('.datepicker').datepicker('update', new Date(2011, 2, 5));

To reset the datepicker and clear the selected date, pass an empty string with ``update``:

::

$('.datepicker').datepicker('update', '');

setDate
-------
Expand Down

0 comments on commit 0b31bec

Please sign in to comment.