Prototype Add Class to Class

Posted by a1anm on Stack Overflow See other posts from Stack Overflow or by a1anm
Published on 2010-02-14T15:34:09Z Indexed on 2010/04/20 16:03 UTC
Read the original article Hit count: 268

Filed under:
|

I have a few div's like this in my page:

<div class="listing-type-list catalog-listing">

I would like to append a class to the div when I hover over it then remove it when I mouseout?

How can this be done with prototype?

© Stack Overflow or respective owner

Related posts about prototype

Related posts about JavaScript