Removing options from Listbox

Select One option from the list of students to remove .

<script>
$(document).ready(function() {
$("#b1").click(function(){
var to_remove = $("#student").val();
$("#student option[value= '"+ to_remove + "' ]").remove();
});
});
</script>