<script> jQuery(document).ready(function($){ $('#elm').hover( function(){ $(this).addClass('hover') }, function(){ $(this).removeClass('hover') } ) }); </script> <style> .hover {font-size:33px;} </style> <div id="elm">test</div>
article
Friday, July 29, 2016
Adding/Removing Class on Hover
Adding/Removing Class on Hover