<script>
function show() {
document.getElementById('out').innerHTML = 'Hello ' + document.forms[0].name.value + '<br>' + document.forms[0].ln.value + '<br>' + document.forms[0].tel.value;
}
</script>
<form>
Name: <input type='text' name='name' size='30'><br>
Last Name: <input type='text' name='ln' size='30'><br>
Mobile: <input type='text' name='tel' smaxize='11'><br>
<input type='button' value='Show them!' onclick='show();'><br>
</form>
<div id="out"></div>