This function is to copy text or other HTML elements from one ID to another ID
function copytext(source_id, dest_id) { var s = document.getElementById(source_id); var d = document.getElementById(dest_id); d.value = s.innerHTML; }
Last Updated on October 26, 2015