Hi every body,
I'm in trouble with an inline datepicker. I want to get the date on
which i cliked to make an startdate for the week calendar's launch.
I've tried to implent onSelect, the main page head as :
$j("#datepicker").datepicker({
onSelect: function(dateText, inst) { alert('dateText')}
});
I've also tried to implent onClick the main page head as :
$j("#datepicker").click({
var day = $j(this).html())}
var month = $j(".ui-datepicker-month").html();
var year = $j(".ui-datepicker-year").html();
var startDate = new Date(year, month, day);
alert(startdate);
});
Nothing works.
Any help would be appreciated
Many tks
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---