public/ckeditor/_source/plugins/forms/dialogs/select.js
function removeSelectedOptions( combo )
	{
		combo = getSelect( combo );

		// Save the selected index
		var iSelectedIndex = getSelectedIndex( combo );

		// Remove all selected options.
		for ( var i = combo.getChildren().count() - 1 ; i >= 0 ; i-- )
		{
			if ( combo.getChild( i ).$.selected )
				combo.getChild( i ).remove();
		}

		// Reset the selection based on the original selected index.
		setSelectedIndex( combo, iSelectedIndex );
	}
function removeSelectedOptions( combo )
	{
		combo = getSelect( combo );

		// Save the selected index
		var iSelectedIndex = getSelectedIndex( combo );

		// Remove all selected options.
		for ( var i = combo.getChildren().count() - 1 ; i >= 0 ; i-- )
		{
			if ( combo.getChild( i ).$.selected )
				combo.getChild( i ).remove();
		}

		// Reset the selection based on the original selected index.
		setSelectedIndex( combo, iSelectedIndex );
	}
function removeSelectedOptions ( combo ) { combo = getSelect ( combo ) ; // Save the selected index
 var iSelectedIndex = getSelectedIndex ( combo ) ; // Remove all selected options.
 for ( var i = combo . getChildren ( ) . count ( ) - 1 ; i >= 0 ; i -- ) { if ( combo . getChild ( i ) . $ . selected ) combo . getChild ( i ) . remove ( ) ; } // Reset the selection based on the original selected index.
 setSelectedIndex ( combo , iSelectedIndex ) ; }
Remove all selected options from a SELECT object.
Remove all selected options from a SELECT object .