jQuery - Use RemoveClass function to remove a classon an element

By [)ia6l0 iii

You can use the RemoveClass method to remove the style on an element.

$('#spanName').hover(
       function(){ $(this).
removeClass('spanOnHover') }

Related FAQs

Use the media element to specify a css for a handheld device.
There are couple of ways to check if jQuery is loaded on a page.
Use the length property of an element to determine if it exists
A Pseudo class is a class that applies to an element due to the result of an user's action; Hover for example.
A Rule set in css refers to a selector and its declarations.
A Selector in CSS define or select the html elements that the CSS rules apply for.
jQuery - Use RemoveClass function to remove a classon an element  (870 Views)