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