get the element of event