Hello All my friend ..... I have the following code it work well .... but in some case the image which round(ajax image ) continue rounding , I mean that the code in reponse section doesnt work , becuse I put in response section code to hide image which tell him waiting .
the code
$('#B3').click(function(){
if ($('#t1').val()!="" && $('#t2').val()!="" && $('#t3').val()!="" && $('#t4').val()!="" && $('#t5').val()!="" && $('#t6').val()!="" && $('#t7').val()!="" && $('#t8').val()!="" && $('#t9').val()!="" && $('#t10').val()!="" && $('#t11').val()!="" && $('#t12').val()!="" && $('#t13').val()!="" ){
$('#error').hide();
$('#startex').show();
$.getJSON("insertmaster.php?ran="+Math.random(),{t1:$('#t1').val(),t2:$('#t2').val(),t3:$('#t3').val(),t4:$('#t4').val(),t5:$('#t5').val(),t6:$('#t6').val(),t7:$('#t7').val(),t8:$('#t8').val(),t9:$('#t9').val(),t10:$('#t10').val(),t11:$('#t11').val(),t12:$('#t12').val(),t13:$('#t13').val()},function(data){
$('#startex').hide();
if (data=="done"){
$('#doneex').show();
} else {
$('#alreadyexsits').show();
}
});
}else {
$('#startex').hide();
$('#error').show();
}
///////////////////////////////
});
what is the problem ????