javascript - want to take only one input between 2 input field from ...

javascript - want to take only one input between 2 input field from ...