El Martes, 19 de marzo de 2013 12:57:43 Gloufy escribió:
> Hi everybody,
> I want to do this
>     $(".date_debut-input").datepicker('option','beforeShowDay',
> disableAllTheseDays);
> where disableAllTheseDays is a javascript function.
> 
> I want do this before the focus
> 
> how to ?
> 
> Thanks you for your helping
> 
> Gloufy

$(document).on('focus', '.date_debut-input', function() {
  $(this).datepicker('option','beforeShowDay', disableAllTheseDays);
})

-- 
You received this message because you are subscribed to the Google Groups 
"ActiveScaffold : Ruby on Rails plugin" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/activescaffold?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to