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
Join Our Forum
We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.