javascript image problem
<p>how cand i add a value to the class element in an image?</p>

<p>for src and align it works, and it adds the values to src and align:</p>

<pre><code>src : this.inputs['src'].value,
align : this.inputs['align'].value,
</code></pre>

<p>but when i write class it becomes highlighted and it dosen't add the value to the class element in the images html:</p>

<pre><code>class: this.inputs['class'].value,
</code></pre>

<p>is 'class' a reserved word in javascript? if yes is there another solution for my prolem?</p>
