<html><head><script src="FARS_files/jquery-latest.js"></script><script type="text/javascript">window.onload = function() {document.getElementById("btn").onclick = function() {if(document.body.style.cursor == "wait") // 箭頭 (默認(rèn))document.body.style.cursor = "default";else // 沙漏 (等待)document.body.style.cursor = "wait";};};</script></head><body><input id="btn" type="button" value="Click" /></body></html>
如下這段代碼在IE上是可以用的,在firefox上就不行,為什么呢?
慕慕森
2022-05-19 13:15:01