By running the following code, i couldn't see the web page change in my Iframe. why? how to add a statement in this script to force the Iframe to refresh?
function refreshInnerFrame()
{
for (i=1;i<10;i++)
{
document.frames(myInnerFrame).location=i+".html";
}
}
<iframe name="myInnerFrame" id="innerframe" src=http://www.webdeveloper.com/forum/archive/index.php/"1.html" iframe>
<input type=Checkbox onclick="refreshInnerFrame()">
function refreshInnerFrame()
{
for (i=1;i<10;i++)
{
document.frames(myInnerFrame).location=i+".html";
}
}
<iframe name="myInnerFrame" id="innerframe" src=http://www.webdeveloper.com/forum/archive/index.php/"1.html" iframe>
<input type=Checkbox onclick="refreshInnerFrame()">