Using just JavaScript, the property you're after is firstChild.
To alert the name of the element:
alert(document.getElementsByTagName("div")[0].firstChild.name);
Note that you're using getElementsByTagName which returns an array of all div elements - in my above example, I'm accessing the first element from this set, so this will only return the correct link if your div is the first one on the page.
To get around this, I'd suggest giving the div tag you want to target an id, and then using getElementById("id") instead:
<div class="formfield" id="divPhone">
<input id="txtPhone" name="txtPhone" />
and
alert(document.getElementsById("divPhone").firstChild.name);
If you actually want to target a group of elements, I'd suggest using jQuery's selectors to target the specific elements, such as $(".formfield").firstChild.name