Create null before appended html juery' code example Example: jquery empty and append $('#somDiv').empty().append('text To Insert')