Friday 15 February 2013

jquery UI datepicker: display the day number only -


Is it possible to display only the number of days? (I do not need a full date).

I will try: $ ('date'). Datepicker ({dateFormat: 'dd'}); but I still display the full date (such as 16-6-13 instead of 16)

Is there a way to change it? Perhaps one of the known hacks ...

Change the format to DD-MM-Yay and related text The following on the box.

  $ ('# textBoXID'). Change (function () {var actual text = $ (this) .val (); var arrayOfDate = []; arrayOfDate = real text (. '-'); $ ('# textBoXID'). Val (arrayOfDate [0] );});    

No comments:

Post a Comment