javascript onchange for select not working on iOS
<p>Hi i have this little function on my nav for a select that appear when the window is too short to show the hole nav menu, and with a javascript function I manage to redirect the user to the page by giving the location ref as the option value. Until there everything work just fine, but the idea of this is to make it work for cell browser, for what i'm trying it on an iPhone and it just don't do a thing. wonder if somebody could see something to fix or anything??</p>

<p>function in matter: </p>

<pre><code>window.onload = function(){
    var nav1 = document.getElementById('nav1');
    nav1.onchange = function(){
        location.href= nav1.value;
    }
}
</code></pre>