a 500)
}
});
Regards,
Andréas
2014-08-30 4:57 GMT+02:00 Antonio Russoniello
mailto:aruss...@musicparticles.com>>:
Now I can read data from ajax to my def but I have not idea to
how send, for examle, an array to jquery and manage this from
javascript...
I tried:
as Kuhne escribió:
Hi Antonio,
import simplejson as json
return HttpResponse(
json.dumps({
'array': example
}),
content_type="application/json"
)
That would do the trick. This is returned as JSON. Remember to set the
content_type, otherwise the clien
is returned as JSON. Remember to set the
content_type, otherwise the client can get confused.
Regards,
Andréas
2014-08-28 2:56 GMT+02:00 Antonio Russoniello
mailto:aruss...@musicparticles.com>>:
Hello,
i hope you can help me with this, I'm trying to send to an ajax
(
Hello,
i hope you can help me with this, I'm trying to send to an ajax (jquery
from my html template) a response but i would like to send also a new
variable.
in my html template I have:
$("#init_date").click(function(){
var some_date = {'init_date': init_date, 'end_date': end_da
4 matches
Mail list logo