結果 : if input value is not empty javascript