get clicked target id from browser