title: How to change the URL then refresh the page (Safari/Firefox)
body: <p>I have a simple ajax call written in jQuery. It passes a string to the server and the server returns some json data.</p>
  
  <pre><code>$.ajax({
          url: ...,
          dataType: 'json',
          success: function(data) {
              for (var d in data) {
                  var title = $('&lt;a onClick="location.reload()" href="/player#v='+ data[d].content.id+'" "&gt;&lt;p&gt;'+ name +'&lt;/p&gt;&lt;/a&gt;');
              }
          }
      });
  </code></pre>
  
  <p>What I want to happen is when a user clicks on that link ("title"), for the page to reload at that new URL. Keep in mind, the current page is the page it wants to redirect to, but with a new hash in the URL instead (essentially, reloading all the content on the page with new content). This works perfectly in Chrome. In Safari and Firefox, it simply reloads the current page, no matter which link you click on in the column (there's multiple links with different URIs). If I take out the onClick event, the URL just changes, but the page doesn't reload.</p>
  
  <p>I've tried changing the onClick event to a custom function using window.location.replace('new url here'), but it simple does nothing. Any help is appreciated.</p>