title: Make jQuery on page add CSS class to div within iframe?
body: <p>Can I have jQuery on my page that adds a CSS class to a div thats within an iframe? </p>
  
  <p>Thanks</p>
  
  <p>UPDATE. For testing purposes Ive added the following. I would have thought that it would add a class of 'red' to all p tags in any iframe, but its not doing anything: </p>
  
  <p>$(document).ready(function() {
  $('iframe')
    .contents()
    .find('p')
      .addClass('red');
  });</p>
  
  <p>Thanks</p>