hello,
I made a little mistake ... I've posted this message on Developpers
board ...sorry
and sorry for my bad english...

i have a problem with datepicker

when i use this code

       $('input').live("mouseover", function() {
               //alert ('yo');
               //tous les input avec la classe deviennet des calendar
               if ($(this).hasClass('datepicker')) {
                       $(this).datepicker({
                               showOn: 'button',
                               buttonImage: 'images/calendar.gif',
                               buttonImageOnly: true,
                               numberOfMonths: 2,
                               showButtonPanel: true,
                               altFormat: 'yy-mm-dd'
                       });
                       $(this).datepicker('option', 'altFormat', 'yy-
mm-dd');
                       alert ($(this).datepicker('option',
'altFormat'));
               }
       });


the alert return yy-mm-dd correctly but my input value looks like
02/28/2010 (for 28th febuary)

is that normal ? I dont think :'-(
please help

I must use      $('input').live("mouseover", function() {
because the input is created with javascript ... and not when the page
is loaded.

thanks

--

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=.


Reply via email to