Hello,
In your first method (non-json), try console.log(data) in the success
function.
When you tried json, was there any other error in the console? What about
the network tab?
Collin
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsu
updated my ajax to the following but for somereason it just says something
went wrong
$(document).ready(function() {
$('#get_info').submit(function() {
$.ajax({
type: "POST",
url: "/vmstatus/",
dataType: "json",
async:
Another note is I try to return posted data and out put it to the html for
testing and that doesn't get returned either.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an e
So I'm trying to write an ajax script that post data to django without
having to leave the page. Currently it is on submit however eventually im
going to put it on a timer.
Right now the function outputs to the console as a success but no data is
returned from django.
Here is my ajax
$(docu
4 matches
Mail list logo