jquery select list remove
Posted
by mazhar
on Stack Overflow
See other posts from Stack Overflow
or by mazhar
Published on 2010-05-13T20:57:10Z
Indexed on
2010/05/13
21:04 UTC
Read the original article
Hit count: 143
jQuery
there are 2 multiple select list on my page , one is there with a seperate remove button . selecting an item there in the selected list is removing the item from the first select list also.how will i specify which list to remove item from in this code
$().ready(function() {
$('#remove').click(function() {
return !$('#FeatureList option:selected').remove();
});
});
© Stack Overflow or respective owner