title: Ajax request again after successful return of last request
body: <p>Hello all I would like to send a request after my first request succeeds</p>
  
  <p>The following is what I am using to make the initial request</p>
  
  <pre><code>$('#registerUser').submit(function (e) {
  e.preventDefault();
  
    $.ajax({             
    type: 'get',
    url: 'GM/checkUserExists',
    data: $('form').serialize(),
    success: function () {
  
  
  
    }
        });
  
        return false;
    });
  </code></pre>
  
  <p>In order to make the second requewst I am using the following that is not working, it is loading the page but it is loading the page which I don't want. I am sure I am doing this wrong but any help getting me past this would be great.</p>
  
  <pre><code>$('#registerUser').submit(function (e) {
  e.preventDefault();
  
    $.ajax({             
    type: 'get',
    url: 'GM/checkUserExists',
    data: $('form').serialize(),
    success: function () {
  
      type: 'get',
      url: 'GM/checkUserExists',
      data: $('form').serialize(),
  
    }
        });
  
        return false;
    });
  </code></pre>