I need to edit an iframe with jQuery but I'm unable to do it.
I tried with:
$(document).ready(function(){
    $("#iframe").on('load',function(){
        $(this).contents().find('body').html('a');
    });
});
This code doesn't work.
EDIT
The iframe is related to a different domain.
 
    