<input type=text name=nick> <? echo "<a href='\javascript:document.post.nick.value = 123\'>123</a>"; ?>