Opens the comment box closest to the element that called the function.
The openNearestCommentBox()
function opens the comment box that is closest to the element that called the function.
A comment box is the the input area where visitors can write a comment.
There can be up to two comment boxes on the WixComments
element. They are displayed at the top and bottom of the element.
Effect options for opening the comment box.
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.