JavaScript Reference/Javascript Methods/addReadRequest — различия между версиями

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

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

"addReadRequest()" Example

    
<html>
<head>
<script language="JavaScript">
    function function1() {
        navigator.userProfile.addReadRequest("Business.phone");
        var m = navigator.userProfile.addReadRequest("Business.phone");
        alert(m);
    }
</script></head>
<body>
<button onclick="function1();">Add an entry to read request</button>
</body>
</html>



"addReadRequest()" is applied to

+----------------+--------------------------------------------------------------+
| Applied_To     |userProfile                                                   |
+----------------+--------------------------------------------------------------+



"addReadRequest()" Syntax, Parameters and Note

Note:
Adds a vCard name to the read-requests queue in the userProfile object. 
The method returns true (successful) or false (failed).
    
Syntax:
    
navigator.userProfile.addReadRequest(param1)
window.clientInformation.userProfile.addReadRequest(param1)

Parameters:
    param1   Required; one of the standard vCard_name property values.