pass id of another element to javascript function 35 Pass Id Of Another Element To Javascript Function Events allow JavaScript to detect when a certain action has been performed by the user, e.g. hovering over an element, clic… Written By Trenton V. Williamson Wednesday, September 19, 2018 Add Comment Edit