So I have a Dart app embedded in a page and it opens another window that has a preexisting page with just HTML/JS. I was trying to get info into the page and display it from inside Dart, roughly like so:
var div = querySelector("#div_id");
div.text = "my message";
I tried different variations of that with different kinds of elements, but no luck.
Eventually, I just wrote display code in JS on the child window HTML and I passed the information in using a query string.
So my question is: can Dart manipulate another page if that page doesn't have dart.js and other stuff embedded in it? Or am I simply doing something wrong?
Thanks for any insight.