},
removeItem: function(obj){
$("#"+obj).replaceWith("");
}
}
$("#itemAdd").click(function(){
var item=$('#teacherInput').val();
$.schoolFn.addItem(item);
$('#teacherInput').val("");
});
function deleteItem(obj){
var item=$(obj).parents(".list-group-item").attr("id");
$.schoolFn.removeItem(item);
}
</script>