Mark.P. wrote:
> When the user makes their selections from the drop down
boxes then clicks
> the button, it does the filter but then each drop down
goes back to the top
> option. So I need to set the current selection to what
they just picked. How
> do I do this?
You don't say which server-side language you're using, but
the same
principle applies to all of them. Add a conditional statement
into each
<option> tag, compare the current value with the value
submitted by the
form, and if they match, insert selected="selected" (or just
selected,
if you're using HTML 4.01).
In PHP:
<option value="products" <?php if ($_POST['filter'] ==
'products') {
echo 'selected="selected"'; ?>>Products</option>
and so on...
--
David Powers, Adobe Community Expert
Author, "The Essential Guide to Dreamweaver CS3" (friends of
ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/