When i try to do this:
$.ajax ({
    url: location.hash,
    method: 'GET',
    dataType: 'html',
    success: function (data, textStatus, jqXHR) {
        $('#content').html(data);
    },
    error: function (jqXHR, textStatus, errorThrown) {
        console.log(textStatus);
    }
});
I get this error: Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check http://xhr.spec.whatwg.org/.
My url is: localhost/index.php#test.php
It should use test.php as url to load.
What i need is when there is a hash in the url, i need to load the hash (filename)..
Edit:
When i add:
async: false,
I still get the same error..
Edit:
I am using jQuery version 2.1.3
