var samples = ""; samples += ''; samples += ''; samples += ''; // document.write(samples); document.getElementById("samples").innerHTML = samples;