I am trying to basically refresh the page upon form submission, but INCLUDING a hash '#'.
For example, the url is: www.example.com/segment#foo
Using:
$("#form-name").submit(function(){
location.reload();
});
does not include the hash.
Any help many thanks.