Jquery select href build
<p>Fairly new to jquery so I might be making a simple mistake but I just cant seem to find it. At the moment I have a select drop down that I want to send the user to the url that is built from the option they choose. At the moment I have this for my jquery:</p>

<pre><code>    $('#sizeSelect').change(function () {
       var singleValue = $(this).find('option:selected').val();
       var singleUrl = '/products/length' + '~' + escape(singleValue);
       alert(escape(singleValue));
       alert(singleUrl);
       alert('/products/length' + '~' + escape(singleValue));
    window.location = $(this).find('option:selected').attr('href', 'singleUrl');
});
</code></pre>

<p>I have my alerts in there for me to see how everything was being put together. When I get to my actual window.location the url that is built has [object%20Object] in it . So any help would much appreciated to a a somewhat new jquery user.</p>
