JavaScript Reference/Javascript Properties/vcard name

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

"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