okay so I have this code in body:
And this code in script
<
you need a return statement in your first function.
function first(){ var nameContent = document.getElementById('full_name').value; return nameContent; }
and then in your second function can be:
function second(){ alert(first()); }