Is it possible to pass a varible into and out <iframe>?
The problem is that i have data display in <iframe>, but all controls and data-sending / recieving scripts in parent frame.
Is it possible to pass a varible into and out <iframe> ? The problem
Share
If you want to give the
iframevalues on page load, then you can pass the value as aGETparameter in theiframe‘s URL. If you want to send values back and forth after that (and both the parent and child are on the same domain, as you stated), then you can use JavaScript. For example: