Open Glaison26 opened 4 months ago
document.getElementById('up_nomeField').value = "<?php echo $_SESSION['nomepac'] ?>"; document.getElementById('up_convenioField').value = "<?php echo $_SESSION['conveniopac'] ?>"; document.getElementById('up_telefoneField').value = "<?php echo $_SESSION['telefonepac'] ?>"; document.getElementById('up_emailField').value = "<?php echo $_SESSION['emailpac'] ?>"; document.getElementById('up_matriculaField').value = "<?php echo $_SESSION['matriculapac'] ?>";
https://pt.stackoverflow.com/questions/128493/adicionar-texto-a-uma-textarea-sem-apagar-o-existente