I have dialog clones that pull source from another file. I would like to have datepicker on these dialogs but I am not sure how to do this. I am able to do this on the regular dialog (non-clone) by using: <script type="text/javascript"> $(function() { $("#enddate").datepicker(); $("#startdate").datepicker(); }); </script> Can someone help me please?
Thanks for your help, I was able to do it using this code: <script type="text/javascript"> $('#startdates').live('click', function() { $(this).datepicker({showOn:'focus'}).focus(); }); </script>
Leave a comment on tiggixx's reply
Change topic type
Link this topic
Provide the permalink of a topic that is related to this topic