It is not exactly clear what your issues are, so I will make a guess
that it is HTTP headers (mimetype). For JSON it should be application/
json, but IE will not work with this even thought it is the required
standard. The solutions to this is to generally use IFRAME's which
means rethinking you implementation.

If the above is not related to your issue then it could be that you
are doing a cross domain call which is not allowed in the AJAX
standard, some browsers will allow it however. There are cross browser
ways of getting around this. In Jquery there is a crossDomain setting
in the .ajax call as of version 1.5 and up.

If none of the above are hitting on your issue you need to be more
specific about your problem then somebody can answer you properly.

~Carl

On Apr 23, 9:38 pm, Daniel França <daniel.fra...@gmail.com> wrote:
> Hi all,
> I was using JQuery to retrieve some data using AJAX and Django...
> at my django view code I wrote a verification to check if it's an ajax
> request:
> *if request.is_ajax():*
> *   #Ajax handler*
> *else:*
> *  #Not Ajax handler*
>
> and do the properly handler, and here's my Jquery script:
> $('#id_show_updates').load("/profiles/get_updates/"+
> document.getElementById('last_update').innerHTML);
>
> It's working like a charm in Chrome and Opera... but at Firefox django
> thinks it's not Ajax and  =/ Anyone know someway to solve that?
>
> Best Regards,
> Daniel França

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to