<html> <body> <input id="myText" type="text" name="firstName"> <script language="JavaScript"> document.all.myText.vcard_name = "vCard.FirstName"; </script> </body> </html>