JavaScript Reference/Javascript Properties/vcard name

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

"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