Today i use HTML-Form web part to connect to the list in question. I then use the following code to filter/sort:
<div onkeydown="javascript:if (event.keyCode == 13) _SFSUBMIT_">
<select name="filter">
<option value="">Pick one</option>
<option value="Department 1">Department 1</option>
<option value="Department 2">Department 2</option>
<option value="Department 3">Department 3</option>
<option value="Department 4">Department 4</option>
<input type="button" value="show" onclick="javascript:_SFSUBMIT_"/>
</select>
</div>
When users are filtering the lists, it requires 3 clicks from them. First, open the dropdown list, then select a value and finally, click on the "show"-button.
I want to reduce the number of clicks to one. by using buttons instead. It is possible? Or is the connection between web part and list the only way for this to work?