Náš Lopuch Vámvytře zrakLopuch.cz
location.replace(url);
function setWindowLocation(url) { alert(window.location); window.location= url; } $(document).ready(function(){ $("#odkaz").click(function(){ var brand = $('#nejaky_select option:selected').val(); var url = "./presmerovani.html?nejaka_promenna="+brand; setWindowLocation(url); }); });