try send a random variable to the URL
function refreshFrame()
{
testFrame.document.location.href = 'aaa.xml?temp='+(new Date().getTime());
}
function refreshFrame()
{
testFrame.document.location.href = 'aaa.xml?temp='+(new Date().getTime());
}
调试欢乐多
那两个函数。差不多,在原理上一样,只是一个用setTimeout了。调用的刷新函数都一样。。
怪。。
to fashon:
我明白你的想法,但是我试了,还是不好用。
有时候,把代码写在一页里才更好一些