```
$('.btn-default').click(function()
{
    var foldername = $('#file_title').val();
    $.post ('<?php echo  base_url(); ?>ClientCont/List_Files/inserttitle',{
        file_title:foldername
    },function(data){
        console.log(data);
    if(data['exist']== true ){
        if($('#notifme').length != 0){
            $('#notifme').append("Folder name already exist!");
            $('#notifme').show();
        }
    },'json');
}); 

```

Just wanted to ask, the code above is used to create a folder if the folder exists, I will notify the user that the folder is already in the database, but if the user click the button multiple times append execute multiple times. Please help how to avoid that #notifme is the name of my id for my alert thanks