var strEmails=document.getElementById('<%=txtEmail.ClientID%>').value; <input type="text" id="txt"/> txt.value=strEmails;