結果 : javascript check if button pressed