<html>
<head>
<script type="text/javascript" src="/jquery/jquery.js"></script>
<script type="text/javascript">
$(function(){
$("#batchId").each(function(i,n){
var options = "";
$(n).find("option").each(function(j,m){
if(options.indexOf($(m)[0].outerHTML) == -1)
{
options += $(m)[0].outerHTML;
}
});
$(n).html(options);
});
});
</script>
</head>
<body>
<html>
<body>
<select id="batchId">
<option>01</option>
<option>01</option>
<option>01</option>
<option>02</option>
<option>03</option>
<option>04</option>
</select>
</body>
</html>
</body>
</html>