Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
可能重复: PHP:在执行 php 脚本时显示“正在加载”页面
大家好,请在 php 执行查询并启动页面时显示 loading.gif 图像。
我似乎无法访问关于空白页面以将加载图像放在那里。它仅在页面完全加载时出现。请问谁能帮忙解决
$("#loadingGif").show() $.ajax({ type: "POST", url: "ajax.php", data: { var1:'val1' } }).done(function(msg) { $("#loadinggif").hide(); });