結果 : how to disable input field based on condition in javascript