Try the following modification:
var tab = Application.activeWindow.open(Utils.url(url));
tab.events.addListener("load", function() {
jQuery("frame[name=body]", tab.document).html("DUANE WAS HERE");
});
Hope that helps.
- Blair
Warning: You may or may not have problems relating to cross-domain
scripting. Check the error console's messages.
- Blair
tab = Application.activeWindow.open(Utils.url(url));
tab.events.addListener("load", function() {
tab.document.frames[0].addListener("load", function() {
// do stuff
});
});
- Blair