What is the JavaScript equivalent to jQuery's .contents()?

Viewed 5849

I want change class property on an iframe I use .contents() which is perfectly working. But I want to do this using JavaScript. My code is:

var $c = $('#myframe').contents();              
$c.find('.inner-wp').css('margin','0')
1 Answers
Related