JavaScript Reference/Javascript Properties/vcard name — различия между версиями

Материал из Web эксперт
Перейти к: навигация, поиск
 
м (1 версия)
 
(нет различий)

Текущая версия на 08:22, 26 мая 2010

"vcard_name" Example

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



"vcard_name" is applied to

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



"vcard_name" Syntax and Note

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