find all div's with contenteditable attribute in iframe and remove said attribute with jQuery?
<p>I have an ifram on a page with class ms-dlgFrame and in this iframe I want to remove contenteditable="true" on elements since it's not supported by Safari on iPad (I am checking the user agent first).</p>

<p>I have some issues with combining <code>.find(), .each(), .attr()</code>, and <code>.removeAttr()</code></p>

<p>I tried something like:</p>

<pre><code>console.log("iPad");
$('.ms-dlgFrame').contents().find("div").attr("contenteditable").each(function() {
    $(this).removeAttr("contenteditable");

});
</code></pre>

<p>Any ideas?</p>

<p>Thanks in advance.</p>
