change this to jquery
<p>How would I change the below to jquery? It works in IE but not Firefox so I am hoping if I change it to jquery it will work for both.</p>

<p>THIS</p>

<pre><code>function subform() {
 if (parent.option_view.document.vform_.dispatchEvent('onsubmit') != false) {
  parent.option_view.document.vform_.submit();
 }
}
</code></pre>

<p>AND THIS</p>

<pre><code>img class="save_bttn" src="/images/save.gif" height="16" width="16" border="0" onclick="subform()"
</code></pre>

<p>IS INSIDE ONE CHILD FRAME</p>

<p>and</p>

<p>It is trying to init in another child frame that is why its going to parent option_view.</p>

<p>*note: I was not trying to scream with the caps I was just trying to show where talking was and where the javascript is</p>
