CodingForums.com

CodingForums.com (http://www.codingforums.com/index.php)
-   JavaScript frameworks (http://www.codingforums.com/forumdisplay.php?f=62)
-   -   Updating select options doesn't refresh properly (http://www.codingforums.com/showthread.php?t=149819)

logictrap 10-08-2008 08:23 PM

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);


All times are GMT +1. The time now is 10:25 AM.

Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.