title: How to go to a page on onclick depending on combobox value using Javascript?
body: <p>I have a combobox and a button. When I click the button, it uses the value from the combobox and goes to another page. My question is, how do I alter it so that, if, for example, the value in the combobox is currently 6, you don't get directed to a page, but rather get a warning on the same page that you can't use value 6 from the combobox? If it's any value other than 6, it just does the same onclick function it always does. I'm also relatively new to Javascript, so that's why I can't currently wrap my head around this.</p>