OnMouseOver basic event not working
<p>I am trying to create a 'hover' effect using JavaScript only. I know this can be accomplished with css, but I am new to javascript and I am trying to get practice with the onmouseover event. Most of my code works below, except the onmouseover Event. What I am trying to do is change the background color of every row in a table that has the class 'striped', on hover. Then change it back to the original background color onmouseout.</p>

<pre><code>                    //Code below not working 
                    rows[i].onmouseover.style.backgroundColor = 'green';
</code></pre>

<p>I also tried:</p>

<pre><code>rows[i].onmouseover.className+='addBg';
</code></pre>

<p>which didn't work.</p>
