I have a script in my JavaScript file where I need to open a new file with a hash already installed, something like:
function search(queryString){
window.location.href = "dosome.php#" + queryString
}
because dosome.php is the page where I have all the scripts to search for ...
I know this sounds like a hack, but I can't rebuild anymore. I'm just trying to fix it temporarily.
It works in Firefox and Chrome, but for some reason it does not work in Safari - it does not send a hash url. Safari sends:
domain.com/dosome.php
instead
domain.com/dosome.php
What could be the problem?
source
share