Iframen get innerhtml multiple class

salve a tutti, io ho un problema.
ho cercato in rete un modo per estrarre multiple classname con linguaggio jquery e grazie al cielo c’é l’ho fatta. Adesso io vorrei modificare questo codice che funziona benissimo con l’elemento iframe cioe non piu’ dalla home page verso le classi ma dalla home alle classi iframe
spero si capisca grazie

$(document).ready(function() {
     
	var elements = $('.post-content, .post-action-wrapper, .post-date');

        var html = '';

      	elements.each(function(index, element) {
            html += element.innerText + '<br />' ;
			var el1 = document.getElementById('div-element1');
  el1.innerHTML = html  
        });
  
    });
 
</script>
<div id="div-element1" ></div>
<iframe src="https://xxx.com/member/38899-giancarlo" style="overflow: hidden"; id="iView" align="top" frameborder="0" height="0px" width="0px"></iframe>

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.