<script>
    function checkVersionInputs() {
        var version = $("#form_apiVersion").val();
        if (version === '1') {
            alert('This service is not available for version 1');
        }
    }

    $(document).change(function () {
        checkVersionInputs();
    });

    $(document).ready(function () {
        checkVersionInputs();
    });
</script>
