I am having similar issues using thickbox. I can get the datepicker to
show as long as I am using TB_inline but can not get it to work with
an ajax call to thickbox?

On Mar 12, 5:13 pm, MikeR <[EMAIL PROTECTED]> wrote:
> Hm, I took a look at the example generously supplied by Eric Martin,
> but was unable to get mine working...
>
> // #################################################
> function AddGalleryPromo_Modal() {
>         $('#add_promo_schedule_box').modal({
>                 onShow: function() {
>                         $('#date_picker').datepicker();
>                 }
>         });
>
> }
>
> That function is called when a link is clicked... the modal box shows
> up great as it should.. and I click the text field
> (id="date_picker").. and it slides/fades in as it should, but then
> vanishes..... i see it in firebug, it's behind the actual modal box.
> Any idea what could be wrong? Thanks!
>
> On Mar 8, 7:38 am, Eric Martin <[EMAIL PROTECTED]> wrote:> 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

Reply via email to