The content method of ArtDialog v6, if its HTML parameter is of type HTMLElement, the solution is implemented as empty for the second time!
The expected effect is as follows:
The final code structure is as follows:
as follows:
In the old version, if the HTML parameter of the content ishtmlElementtype, after clicking the cancel button, its content will automatically replay the original call position, but v6 is clicking the cancel button After that, the original position of the content is actually empty, and the DOM is deleted, resulting in the value of the second obtained time is empty. The final solution is:
cancel: function () {
$(“.mem-change-password”).append(elem_change);
}
After canceling, execute the function, insert the DOM structure into the original position again, so that when reference again, there are values!


