onBeforeEditStart

fires before the user starts editing their comment

void onBeforeEditStart(number|string id);
idnumber|stringthe ID of a comment

Example

$$("comments").attachEvent("onBeforeEditStart",function(id){
    const comment = this.getItem(id);
});

See also
Back to top