JavaScript Reference/Javascript Properties/vcard name

Материал из Web эксперт
Версия от 11:22, 26 мая 2010; Admin (обсуждение | вклад) (1 версия)
(разн.) ← Предыдущая | Текущая версия (разн.) | Следующая → (разн.)
Перейти к: навигация, поиск

"vcard_name" Example

   <source lang="javascript">
   

<html> <body> <input id="myText" type="text" name="firstName"> <script language="JavaScript">

   document.all.myText.vcard_name = "vCard.FirstName";

</script> </body> </html>


     </source>
   
  


"vcard_name" is applied to

   <source lang="javascript">

+----------------+--------------------------------------------------------------+ | Applied_To |<input type="password"> <input type="text"> | +----------------+--------------------------------------------------------------+

     </source>
   
  


"vcard_name" Syntax and Note

   <source lang="javascript">

Note: Write-only property. Specifies the vCard values when autocomplete is turned on for the <input type="password"> or <input type="text"> element.

Value: vcard. followed by Business.City, Business.Country, Business.Fax, Business.Phone, Business.State, Business.StreetAddress, Business.URL, Business.Zipcode, Cellular, Company, Department, DisplayName, Email, FirstName, Gender, Home.City, Home.Country, Home.Fax, Home.Phone, Home.State, Home.StreetAddress, Home.Zipcode, Homepage, JobTitle, LastName, MiddleName, Notes, Office, Pager.

Syntax:

document.all.inputID.vCard_name = value


     </source>