setTimeout问题“功能未定义”!setTimeout问题“功能未定义”!
这段代码有什么问题?
$(document).ready(function(){
function ISS_NextImage() { //ImageSlideShow NextImage
$('.ImageSlideShow').each(function() {
alert($(".correntImage", this).text());
});
}
var t=setTimeout("ISS_NextImage();",1000);
});
*“当你的eval代码,它在全球完成范围“* **排序**(其中存在其中一个问题。)setTimeout发生的范围与发生”eval“的范围不同。这不会改变您不使用字符串的基本建议的智慧,而是函数引用。 – 2010-09-20 21:43:21