>>setinterval可以传递参数吗 ?
yes, but you cannot change the parameter per call, for example,
var alist = new Array("1","2","3");
function testArray(a)
{
alert(a.length);
}
setInterval("testArray(alist)",1000);
>>如果一个function被其它frame同时调用是先调用先执行还是同时执行?
不是同时执行, the browser processes these calls in sequence
>>执行的时候内部变量是不是互不干涉 ?
是互不干涉, unless you are using global variables and change them in the function