joecool2005 Posted January 11, 2006 Share Posted January 11, 2006 Hi all,How do you check the maximum length of a select box?<SELECT name=select1> <OPTION selected>test</OPTION> <OPTION>this is test</OPTION> <OPTION>this is another test</OPTION></SELECT>I want the <select> return 20 for the maximum length.ThxJoe Link to comment Share on other sites More sharing options...
aspnetguy Posted January 11, 2006 Share Posted January 11, 2006 you mean have it 20 characters wide?You can set the wide of the box in pixels easily <select style="width:xxpx">...</select> Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now