<html> <head> <script src="http://code.jquery.com/jquery-latest.js"></script> <script src="datepicker.js"></script> <script> $(document).ready(function(){ $('#example').datepicker({ setDate: new Date('2008','12','10'), showOn: 'button', buttonImage: '/includes/jscript/jquery/css/images/calendar.gif', buttonImageOnly: true }); }); </script> </head> <body> <p><input type="text" id="example" style="width:300px;"/></p> </body> </html>
Above is my code, and the date field is loaded as empty without a default date although I specified setDate. Any help is appreciated. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
