codice:
<script>
 function funz1(valore) { document.getElementById("text2").value="<#c:" + valore + ">"; }
 </script>
Primo:<br>
<input type="number" id="text1" value=""><br>
Secundo:<br><input type="text" id="text2" value=""><br><br>
<button onclick="funz1(document.getElementById('text1').value)">Vai!</button>
Vorrei che il testo risultante dalla text1 andasse a posizionarsi dietro al testo inserito nella text2.