Set image width and height with jquery
<p>I upload an image with the ck editor. When i select and upload the file, the editor automatic write the image width and height.</p>

<p>If i dont write in to this two field manualy 100% and 100%, how can i edit this with jquery? With this code, it writes the width and height to 100%, but the ck editor add these features into style attr.</p>

<pre><code>$('div.content img').attr('width', '100%');
$('div.content img').attr('height', '100%');
</code></pre>

<p>How can i modify the img-s style attr with jquery, and set width and height to 100%?</p>

<p>Thank you!</p>