I tried that and it didn't work until I added function(){} around the
BindTimeSelectors function eg.
$("#days").load(
"ajax/weekview_appointments.aspx?fromdate=" + calendarDay.Date,
function(){BindTimeSelectors;}
);
On 8/17/06, Klaus Hartl <[EMAIL PROTECTED]> wrote:
>
>
> Michael Geary schrieb:
> > You are calling BindTimeSelectors before the AJAX load is complete.
> >
> > Which AJAX load is the one that BindTimeSelectors depends on? Assuming it is
> > the second one, you could code it like this:
> >
> > $("#daysheader").load( "ajax/weekview_headers.aspx?fromdate=" +
> > calendarDay.Date );
> > $("#days").load(
> > "ajax/weekview_appointments.aspx?fromdate=" + calendarDay.Date,
> > BindTimeSelectors()
> > );
>
> I think it should read:
>
> $("#days").load(
> "ajax/weekview_appointments.aspx?fromdate=" + calendarDay.Date,
> BindTimeSelectors
> );
>
>
> -- Klaus
>
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/
>
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/