Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to limit the drop down length in <select>?

843840Jun 7 2008 — edited Aug 30 2008
hi
My code is-

<HTML>
<HEAD></HEAD>
<BODY>
<TABLE>
<TR><TD>
<SELECT NAME="Date">
<OPTION>1</OPTION>
<OPTION>2</OPTION>
:
:
<OPTION>30</OPTION>
<OPTION>31</OPTION>
</TD></TR>
</TABLE>
</BODY>
</HTML>

it will show the numbers from 1 to 31 in the drop down with long scrollbar.
My problem is - I want show only 10 numbers.User need to scroll and select other numbers.
Is it possible?

Edited by: pra_addd2007 on Jun 7, 2008 3:57 AM
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 27 2008
Added on Jun 7 2008
4 comments
161 views