Link to home
Create AccountLog in
Avatar of amrelgarhy81
amrelgarhy81Flag for Egypt

asked on

Number of options in Select tag

How to limit the number of options that shows in when i expand the select tag (click on its arrow)
I have a select tag contains 100 options, i want it to show just 5 options when i click on its arrow and have a scroll inside t see the rest of options down.


Thanks,
Avatar of silveuk
silveuk

<select name="select" size="5" id="select">
Avatar of amrelgarhy81

ASKER

this will increase the size of the select its self not limiting the number of options that shows when i click on the select button
ASKER CERTIFIED SOLUTION
Avatar of amrelgarhy81
amrelgarhy81
Flag of Egypt image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
It can be Done using AJAX
how?