javascript to force :hover code example Example: trigger hover event javascript $("#id").mouseover();