08.10.2016, 17:58
(This post was last modified: 08.10.2016, 22:51 by Erwin van der Zwart.)
Hi,
Here is a update: Use this script:
Code:
$(function(){
$('iframe').load(function() {
var iframeInnerElement = $('iframe').contents().find('#bloktext').get(0);
iframeInnerElement.innerHTML = "Erwin van der Zwart";
});
});
Your <p> element where the text actualy is has no id. Make sure you have set it like this:
Code:
<div id="blok">
<p id="bloktext">tekst</p>
</div>
Now you can do whatever with the element (:
BR,
Erwin