<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<script language="javascript" src="jquery-1.4.min.js"></script>
<script language="javascript">
jQuery(document).ready(function(){
var values = Array();
var isExistInArray = function(value,values){
for(var i=0;i<values.length;i++){
if(value == values[i]){
return true;
}
}
return false;
};
$("#demo>div").each(function(i){
var value = $(this).children().val();
if(isExistInArray(value,values)){
$(this).remove();
}else{
values.push(value);
}
});
});
</script>
<div id="demo">
<div><input type="radio" id="a" value="1">1</div>
<div><input type="radio" id="b" value="2">2</div>
<div><input type="radio" id="c" value="1">1</div>
<div><input type="radio" id="d" value="4">4</div>
<div><input type="radio" id="e" value="5">5</div>
</div>