The plugins site is currently in development.
We've been looking to provide a higher-quality, spam-free experience at the plugins site for some time, and a major error on our part forced us to shut down the current site before we could put the new one in place. We are developing a new site, and you can follow along with its development on GitHub. For more information about this transition, including steps you can take as a plugin author to prepare, please read our post about what's going on.
IE6 does not transfer selected items to select box on right
| Project: | ComboSelect |
| Version: | 1.0.2 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
There is an ie6 bug (possibly other browsers as well) where cloned select elements do not retain the selected status on elements.
from the jquery bug forum i think this bug is a "won't fix" due to performance issues.
here is how i patched this plugin to fix:
after line:
theForm.find('#' + leftID).append(opts);
added:
//fixes ie6 bug, where cloned select boxes do not retain selected options
//ensures items are selected after clone
$(this).find('option:selected').each(function(){
var v = $(this).attr('value');
$('#' + leftID).find('option[value="' + v + '"]').attr('selected','selected');
});
I was posting on your blog, but then it died and wouldn't let me post anymore with a 404
cheers,
Ben
- Login to post comments
