Mam problem z przekierowaniem po zmianie pola typu "select".
Mam taki kod JS:
$(document).ready(function() { $('.styledselect_pages').selectbox({ inputClass: "styledselect_pages" }); }); function test(){ window.location.replace('http://google.pl'); }
oraz taki kod html:
Dlaczego nie przekierowywuje na inną stronę?