469,276 Members | 1,645 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,276 developers. It's quick & easy.

fix the size of textbox in multiple listing in javascript

Hi all,
I need to populate mutilpe values into the multiple list text box and select the required values from the textbox and pass it for further functions.
<select name="options" size=4 multiple>
<option><%=value%></option>
</select>
The problem is that the width of the textbox varies according to the length of the value populated into it. I need to fix the width of the textbox for the sake of good presentation.
Could you help on this

Thanks
Apr 5 '07 #1
1 1217
acoder
16,027 Expert Mod 8TB
Use a style declaration to fix the width using the width property.
Feb 5 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

By using this site, you agree to our Privacy Policy and Terms of Use.