Use data attribute to bind clear event handler to element.