Javascript image timout -
good day, i'm having problem code, can't show loading image few seconds, while post code getting in database , gives backinformation show. $("#poll_vote").click(function(){ var answer = $("input.panswer:checked").val(); var p_id = $("#p_id").val(); $("#poll_load").html("<tr><td align='center'><img src='/images/ajax/ajax4.gif'/></td></tr>"); $.ajax({ type: "post", data: "action=poll_vote&p_id="+p_id+"&answer="+answer+"&module="+module+"", datatype: 'html', url: "/ajax.php", success: function(data) { $("#poll_content").html(data); } }); }); i hope on fast help, i'm begginer in java, can't dicide myself. if want create delay loading animation shows (i believe is... mmm different, i'm going that...) what need se...