JavaScript Reference/Javascript Methods/doReadRequest
"doReadRequest()" Example
<html>
<head>
<script language="JavaScript">
function function1() {
userProfile.doReadRequest(5, "Microsoft");
alert("done");
}
</script>
</head>
<body>
<button onclick="function1();">
Perform all requests located in the read-requests queue
</button>
</body>
</html>
"doReadRequest()" is applied to
+----------------+--------------------------------------------------------------+
| Applied_To |userProfile |
+----------------+--------------------------------------------------------------+
"doReadRequest()" Syntax, Parameters and Note
Note:
Executes all requests of the read-requests queue.
Syntax:
userProfile.doReadRequest(param1, param2, param3, param4, param5)
Parameters:
param1 Required; a code from 0 to 12.
From: http://msdn.microsoft.ru/workshop/author/dhtml/reference/methods/doreadrequest.asp
0 Used for system administration.
1 Used for research and product development.
2 Used for completion and support of the current transaction.
3 Used to customize the content and design of a site.
4 Used to improve the content of a site that includes advertisements.
5 Used for notifying visitors about updates to the site.
6 Used for contacting visitors for marketing of services or products.
7 Used for linking other collected information.
8 Used by a site for other purposes.
9 Disclosed to others for customization or improvement of the content and design of the site.
10 Disclosed to others, who may contact the user, for marketing of services or products.
11 Disclosed to others, who may contact the user, for marketing of services or products. The user can ask a site not to do this.
12 Disclosed to others for any other purpose.
param2 Optional; the name of the requesting party.
param3 Optional; the pages the user"s choice applies to in the future.
param4 Optional; the path to the server requesting access.
param5 Optional; the amount of time.