摘要: 原来代码:setTimeout(window.parent.refreshNode(id),500);// 500毫秒后,调用父窗口的refreshNode()方法refreshNode()方法总是不能正确执行并且在firefox浏览器下,报错:setTimeout():useless setTimeout call (missing quotes around argument?)想到了jquery的一些写法,把上面的代码改成:setTimeout(function(){window.parent.refreshNode(id);},500);这次能正确执行了 阅读全文
posted @ 2013-09-07 17:05 周雷 阅读(778) 评论(0) 推荐(0) 编辑
友情链接