[mochikit] help with httprequest

2007-11-01 Thread Felipe Alcacibar B
Hi. I am using jsCalendar as a calendar widget, but before write the calendar i need get the holidays vía xhr. The Deferred Object calls asynchronusly, and then loads the calendar before i fetch and parse the request. I need a method to get with xhr, but blocking the loading of the page while

[mochikit] Re: Javascript error in IE - Object required

2007-11-01 Thread shday
On Oct 26, 12:00 pm, machineghost [EMAIL PROTECTED] wrote: Is the error occurring when the page loads, because of this: conn(window, 'onload', model_id_changed); Yes, the error occurs here (when the page loads). I think I've solve the problem by changing: var model_id =

[mochikit] Re: Javascript error in IE - Object required

2007-11-01 Thread machineghost
I'm not familiar with TurboGears (more of Django fan myself), but glad I could help :-) Jeremy On Nov 1, 8:07 am, shday [EMAIL PROTECTED] wrote: On Oct 26, 12:00 pm, machineghost [EMAIL PROTECTED] wrote: Is the error occurring when the page loads, because of this: conn(window, 'onload',

[mochikit] Re: help with httprequest

2007-11-01 Thread machineghost
What if you did something like: style.nodisplay{display:none}/style body id=body classnodisplay and then in your callback added something like removeElementClass('body', 'nodisplay'); at the end? Jeremy On Nov 1, 4:25 am, Felipe Alcacibar B [EMAIL PROTECTED] wrote: Hi. I am using jsCalendar