HTML iframe element with id='frame'
function init( ) {
iframeElement = document.getElementById('frame')
iframeElement.src='http://childWindowFile.php'
$(iframeElement.contentWindow).bind("LOADED", this, foo)
}
function foo( ) {
alert("I WANT THIS TO WORK");
}
In my child window i got this in the 'onload' function.
funciton init( ) {
...
...
...
$(window).trigger("LOADED");
}
This does not work, but, is there a way to get user-defined-events to
work in a similar, cross-window fashion.
No comments:
Post a Comment