You need to sign in to do that
Don't have an account?
Peter Bölke
Getting data from Iframe
Hello,
i have an lightning component which holds an VF-Page as iframe. I want to read a specific field in this iframe.
it is simple HTML Textfield:
is that possible?
In the component controller i tried simply:
any ideas?
Thanks
Peter
i have an lightning component which holds an VF-Page as iframe. I want to read a specific field in this iframe.
it is simple HTML Textfield:
<input id="textfield" type="text" name="testtext" value="test"/>
is that possible?
In the component controller i tried simply:
var iframe = component.find("vfframe"); console.log("IFRAME", iframe.getElement("textfield"));but it is not working.
any ideas?
Thanks
Peter