css js hover once change state code example Example: trigger hover event javascript $("#id").mouseover();