結果 : check if input has focus javascript