<input type="text" name="login" value="" class="norm"/>
document.getElementsByName('login')[0].value = 'Текст';