I updated all of the JS files and moved the datepicker initialization into the SimpleModal onShow callback, and now it works w/o any errors: http://ericmmartin.com/code/datepicker/
On Mar 7, 7:36 am, 4e4en <[EMAIL PROTECTED]> wrote: > Hello, > > in your example, if you one time open modal box, then open datepicker, > close s-modal, and one more open s-modal, then you either get an error > or datepicker moves to (0, 0) point. > > On Jan 31, 3:52 am, Eric Martin <[EMAIL PROTECTED]> wrote: > > > Thanks for the example Marc. To answer the OP's question, I added an > > example usingSimpleModal: > > >http://ericmmartin.com/code/datepicker/ > > > -Eric > > > On Jan 30, 12:43 pm, 1Marc <[EMAIL PROTECTED]> wrote: > > > > I've had a lot of questions about modal windows and UI Datepicker, so > > > I created a demo example using thickbox: > > > >http://marcgrabanski.com/code/ui-datepicker/extras/thickbox-datepicker > > > > I hope that helps. > > > > On Jan 30, 10:55 am, Eric Martin <[EMAIL PROTECTED]> wrote: > > > > > On Jan 30, 6:13 am, rayfidelity <[EMAIL PROTECTED]> wrote: > > > > > > Hi, > > > > > > I want to enable datepicker in the modal window that > > > > > opens...datepicker works fine for itself but i cannot get it to work > > > > > in modal. Any ideas? > > > > > Can you clarify what you mean by "cannot get it to work in modal"? > > > > > > Modal window is loaded through ajax... > > > > > Do you have a page or code that we/I can view? > > > > > -Eric