Witam
mam oto taki kod :
<script type="text/javascript" src="http://code.jquery.com/jquery-latest.min.js"></script> <script type="text/javascript"> jQuery( function() {
$('#frame2').load( function(){
$(this.contentDocument).find('body').html('This frame was modified with jQuery! Yay!!!')
});
});
<h2>jQuery and Frames
</h2>
<h4>Frame from the
<i>same
</i> domain as parent.
</h4>
<h4>Frame from a
<i>different
</i> domain as parent.
</h4>
i jest problem bo analizując kod w firebugu wyskakuje komunikat :
" nie udzielono uprawnien do odczytania wlasciwosci HTMLDocument.nodeType z <http://www.google.com>"
Da się obejść jakoś ten problem ?
Chce napisać skrypt który będzie na stronie załadowanej w ramce podkreślał słowa różnymi kolorami.