結果 : javascript check if input is active