How to edit an external iframe?

0

I have read that you can change the content of an iframe external% by jQuery in the following way:

<script>
    $(document).ready(function () {
        $('#el_iframe').load(function () {
            $(this).contents().find("p").css({'background-color':'red','font-weight':'bolder','color':'white'});
        });
    });
</script>

Is it real? Are there other means to alter an iframe external%?

    
asked by ger 21.02.2018 в 22:48
source

0 answers