on change iframe javascript code example
Example: change iframe src by javascript
//change iframe src get the iframe then . and src and provide a value
document.getElementById("myFrame").src = "https://facobook.com";
//change iframe src get the iframe then . and src and provide a value
document.getElementById("myFrame").src = "https://facobook.com";