Problems with <select> tags - one is huge, the other one is a chained
- One form has a <select> element with 300+ <option>s in it. The values are stored in DB and it's being populated by a PHP loop. This huge list affects the speed of display of form. I'm also afraid of the system overhead to generate this huge list each time when a user tries to access this form.
I can use Ajax and transform a text input to a dhtml list, to search and list matched entries from db when the user types something in it.
- The other one has a chained <select>. The first list has 10+ entries and the second list also has 10+ entries corresponding to each entry in first list.
What's "best" and user-friendly way to tackle these "issues"? Please share your suggestions/opinions/practices.