Importing notebook issue, never get onload event

I am using the Runtime with Javascript export to get the notebook code.

If I insert that into a vanilla test web page it works fine. The page I need to insert it into is an iframe in a div and I use the onload event to make it visible.

tab.find(“iframe”).last().onload = function () {
this.css(‘visibility’, ‘visible’);
}
I never get the onload event? I load some tiny and huge web pages using this method and haven’t had any issues before.

I tried using the iframe export for the notebook code and still never get the onload event?

any ideas?

thanks,

Scott

As usual I have shot myself in the foot. This is not a problem with observable.

1 Like