dynamically adding a datepicker to an element BEFORE it is attached to the DOM
Hi there,
I am trying to add a datepicker to an element that is not yet attached
to the DOM. is this possible?
The #datepicker is a text box that is not yet added to the DOM...
$("#datepicker").datepicker({
width: 80,
buttonImage: '/images/Web/calendar.gif'
});
How can I accomplish this?
--