Good day.
When transferring id ajax to the script, the system starts thinking. Tell me how to change the style of the cursor during the execution of the script?
$.ajax({ url: "ajax.php", type: "POST", data: {id: id}, // сдесь начинает думать 5-10секунд success: function(text) { $("#text").html(text); } // сдесь заканчивает думать }); //css .some{cursor:wait;}
ps here I learned that at least through the classes it is done