[jQuery] Select box redraw in IE
Hi folks. I'm trying to move an option element from one select box to another. I have it working in Firefox now, with a simple append:
$('#selectbox_to').append($('#selectbox_from option[@selected]'));
That works great everywhere except, of course, IE. In IE, it does actually move the option but doesn't redraw the "from" select box. The from select box ends up showing the entry after a selected item twice, and doesn't redraw the rest of the list until I select it to force a redraw. What's weirder, it seems to happen only on some select boxes. If I reverse the process and move the option from the "to" select back to the "from" select, there is no redraw problem.
Has anyone seen this? Can anyone recommend a workaround for IE sucking? :-) Thanks.
--Larry Garfield