I have this code that will call a page to a div when the radio button is selected, but sometimes, it takes 4 or 5 secounds to load, because it as a big query...
有没有办法在 div 加载内容时发出加载信号?谢谢 :)
$('#button-radio-1').change(function(){
var valor = $(this).val();
$.post('mostrar_whois.php',{valor: valor}, function(data){
$('#pesquisa').html(data)
});
});