search with dropdown filter?
<p>does anyone have an example of a javascript searchbox with a dropdown filter?
so for example i'm looking to create a searchbox for my site and allow users to either search:
"Current Category" or "Whole Site". I could create a combobox and place it next to the input box but i'm trying to see if there is a fancier js way of doing this.</p>

<p><strong>EDIT:</strong> i don't think i explained very well what i'm looking for.
So, I have an input box to perform searches on my site. What i'd like is to be able to narrow down this searches and make them more specific by providing a filter.
So for example, i want the user to search for "John Doe", but before he must select whether he is going to search in the current category "blog posts" or "whole site".</p>

<p><img src="http://i.stack.imgur.com/VNRwq.png" alt="enter image description here"></p>
