I have a drop down menu created with a select tag and i use two option tags for putting the following values in it:
1. "Select All"
2. The rest of the values which come from a query from a database.
Each time I enter the page I want to have selected as a first option, the previous selection and if there is no previous selection (if I enter the page for the first time or never used this menu before), I want pre-selected the "All" option.
The code up to now -without using the "selected" attribute- looks like this:
I would appreciate any help.