i have this jquery code
else if ($(this).val() === "5") {
var codefaqs = $(this).val();
$('#imgloadfaqs').show();
$("#faqsmain").attr("disabled", "disabled");
$('#faqsanswer').load('http://royta.org/somefolder/get.php',{codedgive:codefaqs},function(applycode){
$('#faqsanswer').html(applycode);
$('#imgloadfaqs').hide(2000);
$("#faqsmain").removeAttr("disabled");
});
}
and show loading image and disable select box
i want when get.php do its work and done to send resault
loading image gone
but with this code its gone very soon before php show resault
can anyone help me with this?