var block = document.getElementById("teaser_1123"); var text = '#5'; if(block){block.innerHTML = text;}