The variable name : sevcount changed to servcount which make the error.
I rename all the variable to sevcount
$(document).on('click','.prepaid_button',function(){
var sevcount=parseInt($('#services_count').val());
sevcount=sevcount+1;
$('#services_count').val(sevcount);
});
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<div class="prepaid_button" > BUTTON </div>
<input id="services_count" value="0" >
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…