AJAX why on first form doesnt redirects on second button redirects ?

AJAX why on first form doesnt redirects on second button redirects ?

I have this form here:

  1. <form id="voteUp" action="/minus-rep/{{$s->id}}" method="get">
  2. <button type="submit" class="btn btn-primary"><i class="glyphicon glyphicon-thumbs-down"></i> <strong>Nerekomenduoti</strong></button>
  3. </form> 
And this is my jQuery code:

  1. $(document).ready(function(){
  2. $("#voteUp").submit(function(evt){
  3. evt.preventDefault();
  4.     var formData = $(this).serialize();
  5. var url = $(this).attr("action");
  6. $.get(url, formData, function(response){
  7. $("#votes").html(response.newNumber);
  8. });
  9. });
  10. });
This is how my page looks:



When I press green button the number gets +1, page don't redirects, it works perfect. But if I press red button then the page redirects and shows this:


But it also adds the number, but the problem is that the red buttons are  redirecting. Can u suggest something ?