middletree
Programmer
I have a <select box that will potentially have several hundred entries, populated from a SQL Server db. The value of each option will be a number, but the part that users will see is a string (person's name). In order to
break up the large list of names, I have links to the left. Each link is one letter of the alphabet. Click the W, and the select box only populates with those whose last name begins with W.
It works fine, but the dropdown as is has a few blank spaces at the top. For example, click the letter W and you'll see a few empty options before the first name in the list. I have been unable to make those extra empty entries disappear. Ideally, I'd like "Select One" to be the pre-selected value.
The page can be viewed at
Please note that there are currently only a few names that populate the dropdown, but in short order, that number will grow to several hundred. For now, click 'G', 'S' or 'W' to see a name show up, and any other letter will have
an empty dropdown. Unless I add some more names after this is posted.
break up the large list of names, I have links to the left. Each link is one letter of the alphabet. Click the W, and the select box only populates with those whose last name begins with W.
It works fine, but the dropdown as is has a few blank spaces at the top. For example, click the letter W and you'll see a few empty options before the first name in the list. I have been unable to make those extra empty entries disappear. Ideally, I'd like "Select One" to be the pre-selected value.
The page can be viewed at
Please note that there are currently only a few names that populate the dropdown, but in short order, that number will grow to several hundred. For now, click 'G', 'S' or 'W' to see a name show up, and any other letter will have
an empty dropdown. Unless I add some more names after this is posted.