add 2 inline styles to child elements using jquery
<p>Id like to add an inline style based on a click:</p>

<p><strong>css:</strong></p>

<pre><code>div#ProductImages &gt; img
{
    opacity:0.4;
    filter:alpha(opacity=40); /* For IE8 and earlier */
}

div#ProductImages &gt; img:hover
{
opacity:1.0;
filter:alpha(opacity=100); /* For IE8 and earlier */
}
</code></pre>

<p>So when they click on one of the child image icons the opacity is 1.0</p>

<p>This what i have tried:</p>

<pre><code>$("div#ProductImages &gt; img").click('style', 'opacity: 1.0', 'filter:alpha(opacity=100)');
</code></pre>

<p>which doesnt seem to work?</p>
