$(document).ready(function(){
//other stuff
$(".active_item").click(function() {
$("body").css("cursor", "progress"); //tried wait instead of progress as well
window.setTimeout(someLength,4000);//just to make sure we do switch back at some point
$('#list tbody tr').each(function(i) {
$(this).removeClass('invisible_row');
});
$("#list tbody tr").show();
$('.catnav').each(function(i) {
$(this).removeClass('current_category');
});
$("body").css("cursor", "default");
});
});
我检查了其他问题,例如将光标更改为在 javascript/jquery 中等待
但在我的代码中它不起作用(如果我选择那个,光标不会变为“ progress
”或“ ”)。wait