I read the tutorial on JQuery and AJAX in particular. I wanted to tie the whole thing to Gange. Sampling began with the tutorial here: webcloud.se/log/AJAX-in-Django-with-jQuery/
In Django all just have this method:
message = 'Hello world!'<br>
message = 'Hello'<br>
Accordingly, when trying to access the URL in browser all without problems. Jung turns itself on my machine — dev server, respectively.
Page with jQuery located on one of the free hosting services, such content:
Like it couldn't be easier, however... Open the page on free hosting, click the button, nothing happens. In the console of the server Jangi can see that the get request successfully arrived. I looked in Firebug the response body is missing (when if you simply open a page of the server in the browser, the response body the request is — it is put the line "Hello"). This is another phenomenon for me — Jangi server receives a Get request only if I click the button in Firefox, in other browsers nothing is sent.
May be related to such problems?
Version 1.2.7 Django, jQuery 1.7.2