var topdata=""; document.getElementById("topdata").innerHTML = topdata;