I\'ve created this fiddle, it allows the user to click on either art or video, dynamically populating the the second listbox with the list associated with those selections. Ther
SEE THE LINK
write if condition as
if($("#SelectedItems option:contains("+$(this).val()+")").length<=0) inHTML += '' + $(this).text() + '';
Then add
$('#remove').click(function(){ $('#SelectedItems :selected').each(function(i, selected) { $(this).remove(); }); });