View Single Post
Old 10-08-2008, 08:23 PM   PM User | #1
logictrap
Regular Coder

 
logictrap's Avatar
 
Join Date: Apr 2008
Posts: 155
Thanks: 11
Thanked 3 Times in 3 Posts
logictrap is an unknown quantity at this point
Updating select options doesn't refresh properly

I used jQuery to change the <options> list of a <select> field. The contents get changed but the field is wider and the items to the right of the field do not move over to reflect the new width.The list is now under some of the existing items. The items shift over in Firefox but not IE7.

Is there something else that should be done after the list is updated to make the other items move over?

Here's the command being used:

Code:
$("select#names").html(nameslist);
__________________

Which came first - the chicken or the egg? The egg... [ticket closed]
If a tree falls... does it make a sound? Yes.............. [ticket closed]
logictrap is offline   Reply With Quote