   [web] javascript onclick on 'select' element (combobox)
  I'm trying to make a combobox that, when a new item is selected in it, navigates the browser to a new page based on the entry in the combobox.  I've googled for "html select onclick", "html select &#106avascript onclick navigate", etc., but haven't been able to find anything.Currently it looks something like this:<script>function Chart(qs){window.location.href = 'http://www.nda.com/traffic_chart.php' + qs;}</script><select><option></option><option onclick="Chart('?Month=5&Year=2006');">May 2006</option><option onclick="Chart('?Month=6&Year=2006');">June 2006</option><option onclick="Chart('?Month=7&Year=2006');">July 2006</option></select>This doesn't work very well.  If I click on the box, it runs the script before I select a new item in the box.  How do I do this?   
<select onchange="if (this.selectedIndex > 0) document.location.href='http://www.nda.com/traffic_chart.php?' + this.value;"><option></option><option value="Month=5&Year=2006">May 2006</option><option value="Month=6&Year=2006">June 2006</option><option value="Month=7&Year=2006">July 2006</option></select>Obviously, feel free to use a function if you want to avoid the inline JS.   ;  Great!  Thanks, and rating++.   