Why not make only the first day of each month selectable:

$("#fuzzywuzzy").datepicker({
  beforeShowDay: function(date){ return [ date.getDate() == 1, ""]; }
});

Demo: http://jsbin.com/ocipe/edit

Hth,

Dave

On Sep 2, 8:51 am, AltairEgo <[email protected]> wrote:
> Hi everyone,
>
> For our project we need to offer our users the ability to select a
> date or
> what we call a "fuzzy date", i.e. just a month/year or a year. As we
> still
> display a date picker, it would be nice to let the user click on the
> month
> or the year to use this "fuzzy date" format.
> My problem is to add this behaviour without preventing a future
> jQuery
> update which could inactivate my dev.
>
> Does anybody know a "how-to" add properly behaviours to ui widgets?
>
> If none, it would be necessary for me to modify the standard widget,
> if
> so, I will add options for this and submit my modifications in this
> place
> ... but it's not my preffered option...
>
> thank's for any help you could offer,
>
> Fred
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to