Hi,
I have a question, I use the component browserframe who content another site (externalressource).
I want interact with this site but it doesn’t work.
To do, i use javascript and i want put the text color of login in blue. So inplogin is id of the another site.
JavaScript.getCurrent().execute("document.getElementById('browserframe').getElementById('inplogin').style.color = 'blue';");
It doesn’t work, i have error in console.
JavaScript.getCurrent().execute("document.getElementById('tt').style.color = 'blue';");
It work.
BrowserFrame browserFrame = new BrowserFrame("",new ExternalResource("..."));
browserFrame.setSizeFull();
browserFrame.setId("browserframe");
setSizeFull();
TextField t = new TextField("test");
t.setId("tt");
addComponents(t,browserFrame);
So can we with Vaadin 7 use or manipulate dom (id) inside browserframe
Best regard