DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
Auto-submit Dropdown Menu
Many users assume that a <select> element (dropdown menu) will have its effect without pressing submit button. (poor user...). The solution is to have it submit automatically.
<select name='myfield' onchange='this.form.submit()'> <option .... > ... </select> </form>