inhalt-von-iframe-neu-laden-interval.php


Quell Code


<iframe style="height:400px;width:80vw;margin:0 auto" id="fa" class="noflicker"  src="../"></iframe>

 
<script>
        setInterval(function () {
            var dd = document.querySelector('#fa');
               url=dd.src;
               console.log(dd)
               dd.removeAttribute('src');
               dd.setAttribute('src',url);
           // document.querySelector('iframe.noflicker:not(.active)').src = newURL;
        }, 30000);



</script>


Deprecated: Directive 'allow_url_include' is deprecated in Unknown on line 0