jorgebastida/django-dajax — Issue #38: Dajax - Support events Jquery
Author: vinigracindo
Created: 2012-03-08 14:50:54+00:00
State: open

I wanted to put a loading.gif while the ajax with Jquery is being processed, but he does not call the events of jquery. I as follows:

$("select#id_estado.select_black_style").change(function() {

$(document).ajaxStart(function(){
$("#teste").show();
});

$(document).ajaxStop(function(){
$("#teste").hider();
});
Dajaxice.apps.localizacao.updatecombo_estadocidade(Dajax.process,{"option":this.value});
return false;
});

This does not work.