title: Jquery's .contents() not working
body: <p>I am using jQuery .contents() method to change class under iframe but it is not wokring. When i am giving direct in iframe source then it is working fine but when i generating path it is not working</p>
  
  <pre><code>$('.viewMe').click(function (){
      var url= 'viewpage.html'
      $('#myframe').attr('src',url).animate({height:1000},1000, 
          function (){$('.Close').fadeIn(1500)});
      $('body').height($(window).height()).css('overflow','hidden');
  
      var $c = $('#myframe').contents();
      $c.find('.inner-wp').css('margin','0')
  });
  </code></pre>