window.Asc.plugin.executeMethod ("ChangeComment", [args], callback)
Defines the method that allows changing the specified comment.
This method should be used in the following way:
window.Asc.plugin.executeMethod ("ChangeComment", [sId, oCommentData]);
Parameter |
Description |
Type |
Example |
sId |
The comment ID. |
string |
"ID" |
oCommentData |
An object which contains the comment data:
-
comment - the comment text,
type: string,
example: "comment";
-
author - the comment author,
type: string,
example: "John Smith".
|
object |
|
The method returns the undefined value.
window.Asc.plugin.executeMethod ("ChangeComment", ["ID", {"comment": "comment", "author": "John Smith"}]);