filter example suing select instead of checkbox

I’m looking to implement a filter in a similar way to the /samples/09_api/09_filtering_events example.
However, I’d like to use a select dropdown list instead of checkboxes. Ultimately, I’ll use this to highlight ranges in the background using addMarkedTimespan.
Does anyone have any code that does that?
Thanks in advance,
Irv