Vic*_*cky 5 javascript internet-explorer internet-explorer-8
我正在尝试使用 IE 8 开发人员工具调试一些问题。
但是在运行下面的代码后,调试器抛出错误“源代码不可用于此位置”
window.onload = function() {
tabberAutomatic(tabberArgs);
};
Run Code Online (Sandbox Code Playgroud)
这是什么意思 ?
上面的代码是下面代码的一部分,一旦文档完成加载,它基本上会运行 tabberAutomatic 函数:
/* This function adds tabberAutomatic to the window.onload event,
so it will run after the document has finished loading.
*/
var oldOnLoad;
if (!tabberArgs) { tabberArgs = {}; }
/* Taken from: http://simon.incutio.com/archive/2004/05/26/addLoadEvent */
oldOnLoad = window.onload;
if (typeof window.onload != 'function') {
window.onload = function() {
tabberAutomatic(tabberArgs);
};
} else {
window.onload = function() {
oldOnLoad();
tabberAutomatic(tabberArgs);
};
}
Run Code Online (Sandbox Code Playgroud)
我正在尝试调试在我之前的问题浏览器中解释的问题,即使页面已加载,进度条仍在进行中
感谢您的投入!!
| 归档时间: |
|
| 查看次数: |
3436 次 |
| 最近记录: |