src 属性一定要写到 onload 的后面,否则程序在IE 中会出错。 参考代码: var img = new Image(); img.onload = function () { alert("img is loaded") }; img.onerror ...
確定! 回上一頁