<form>
<label for="name">Введите число 101</label>
<input type="text" class="form-control che" name="ccoo" id="ccoo" required>
<button type="submit" class="gog" id="submit" disabled>Оставить заявку</button>
</form>
<script>
const inputField = document.getElementById("ccoo");
const submitButton = document.getElementById("submit");
inputField.addEventListener("input", function() {
if (inputField.value === "101") {
submitButton.disabled = false;
} else {
submitButton.disabled = true;
}
});
</script>