I have this page:
pass:dizi
I tried to make a redirection using this code:
CODE JQUERY:
var url = "http://dizievents.ch/index.php/event/food-n-liquor-dizinvolta-2/";
$(location).attr('href',url);
On firefox it seems that everything is ok but Chrome is continually refresh the page give.
What I think is that we enter into a infinite while loop.
I do not realize why this happens ... all the examples we have found are with this code.
Can you tell me please what would be the solution to this problem? You can test the site to see what happens on Chrome
Thanks in advance!
EDIT:
I tried so
var url = "http://dizievents.ch/index.php/event/food-n-liquor-dizinvolta-2/";
window.location.href = url;