I would solve the problem you mentioned using the onkeypress event in the input or from jQuery with the keypress method if it is empty or not empty, eg
HTML:
<input type="text" id="inputText">
<div id="conteudo">
JavaScript:
$('#inputText').keypress(function (){
if (this.value != ''){
$('#conteudo').innerHTML = '';
} else {
$('#conteudo').innerHTML = 'O campo não está preenchido';
}
});
If you prefer, you can use the .remove method when it is not empty, but when it is empty again the div will not be found and consequently will not be filled when the user leaves the field empty, eg
$('#conteudo').remove();
I hope it has helped you, any questions are here.