JavaScript Reference/Javascript Methods/clearRequest

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

"clearRequest()" Example

    
<html>
<head>
<script language="JavaScript">
    function function1() {
        navigator.userProfile.clearRequest();
    }
</script>
</head>
<body>
<button onclick="function1();">Clear the read-requests queue</button>
</body>
</html>



"clearRequest()" is applied to

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



"clearRequest()" Syntax, Parameters and Note

Note:
Clears the read-requests queue from the userProfile object. 
    
Syntax:
    
navigator.userProfile.clearRequest()
window.clientInformation.userProfile.clearRequest()