I am using this piece of code to copy the value of on div to another. The problem is that the “listprice” div is inside the iframe that is being loaded by the page that has v4-25 in it. Do you think there is a way to actually acces the “listprice” from that iframe?
I can’t use any library for that, it has to be pure javascript.
var string = document.getElementById('v4-25').innerHTML;
document.getElementById('listprice').innerHTML = string;
Thank you,
H
1 Answer