How To Show A Hidden Element With Jquery
I have a busy icon on my page which has a class of 'hidden'. When the user clicks a button to start processing input data, I want to show the busy icon. I am doing this with $('#
Try this
First u link ur image on a div
Then
Try this, it will work fine
$.ajax({
url : "URL",
data: { data },
beforeSend: function(){
$("#loading").show();
},
complete: function(){
$("#loading").hide();
},
success: function (response) {
});
});
Post a Comment for "How To Show A Hidden Element With Jquery"