title: AJAX - stop scrolling to top after click event
body: <p>i tryed some things to stop scrolling the page to top after an specific ajax event but with no result. Here is an example:</p>
  
  <pre><code>$(".changeviewdispatch &gt; button").each(function () {
      $(this).on("click",function(e) {
          e.preventDefault();
          var clicked_button_val = $(this).val();
          $.ajax({
              type : 'POST',
              url : 'dispatch.php',
              data: {'submitview':clicked_button_val},
              success : function (d) {
                  //alert(d);
                  window.location.reload(true);
              },
              //error : errorHandler
          });
          return false;
      });
  });
  </code></pre>
  
  <p>the page scrolls to top after click...preventDefault and return false should not work...</p>
  
  <p>general question: how can i stop scrolling to top after an ajax event?</p>