hi, i use the sharepoint 2010. i have a list with new form where is lookup field from another list. this field has duplicate values. i want that hide or remove those values. i tryed with jquery code
<script src="http://code.jquery.com/jquery-1.11.0.min.js" type="text/javascript"></script><script>
$( document ).ready(function() {
var usedNames = {};
$("select[Title='Ревизорска област'] > option").each(function () {
if(usedNames[this.text]) {
$(this).remove();
} else {
usedNames[this.text] = this.value;
}
});
});</script>
but this code does not works. in debugger window of IE10 i found

![]()
how i hide duplicate values