On 24 avr. 2011, at 04:38, 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 Would you per chance have some kind of redirection (any redirection) per chance?
Firefox will not forward any explicitly set header (including Ajax ones) across redirections. -- 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.