[mochikit] Facing error using MochiKit.Color

2008-05-12 Thread Pearl
Hi, I want some text to appear onload of a page. This text should be highlighted (yellow fading technique). For this, I am using combination of Highlight and fade methods gievn in Mochikit. The method is described as function display_message(msg) { var test = Highlight(msg); var test =

[mochikit] Django doXHR Headers and Guidance

2008-05-12 Thread Szaijan
Hi Folks, I have a Django application with a scratch-built AJAX Javascript layer that works well on Safari and Firefox, but not on IE. I am attempting to rewrite it using MochiKit, but am having some issues with the doXHR function, in that I seem to be getting back an empty XHR from my Django

[mochikit] Re: Django doXHR Headers and Guidance

2008-05-12 Thread Bob Ippolito
mimeType: 'application/javascript' doesn't do what you think it does, it's the overrideMimeType on the XHR. For JSON it doesn't matter since it only uses responseText, I think it's only useful for setting it to XML. I think your problem is that XMLHttpRequest has a responseText attribute, not