thanks Bary, but it does not seem to work as hoped ..
in my inframe I've this line of HTML:
<input width="100%" type="text" value="" id="catmercgam" onchange="window.parent.testClick()" >
this is my RSP code:
Code:
function readText()
{
window.alert("ReadText");
document.getElementById("DivTabella").innerHTML ='<iframe id = "myframe" src="http:/localhost:8002/_000000c40014.html?firstname=Yvonne&lastname=Milne" width="100%" height="100%" scrolling="yes" frameborder="0"></iframe>';
};
function filterComments(m_empty)
{
window.alert("in parent filterComments");
readText();
};
function testClick()
{
var myVar;
myVar = setTimeout(filterComments(), 10000);
window.alert("Passo otre");
};
but as soon as I change "cameragam", I see the message:
window.alert ("in the parent filterComments");
window.alert ("ReadText");
window.alert ("Passo otre");
then Lianja crash.
without the 10 seconds pause.
Instead I expected:
window.alert ("Passo otre");
pause 10 seconds
window.alert ("in the parent filterComments");
window.alert ("ReadText");
Bookmarks