get input data by event target element