Ajax headers not work in all browsers?
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home