function pop(){ alert (document.getElementById('my_input').value); } Label Name: <input id="my_input" onchange="pop()" type="text"/>< input type="submit" />
alert (document.getElementById('my_input').value); } Label Name:
<input id="my_input" onchange="pop()" type="text"/>< input type="submit" />