The complete source code, a demo of server status switching, and a detailed explanation comparing it with innerHTML are available in the following blog post. [JavaScript] Complete replacement of DOM ...
The complete source code, a demo of adding detail rows to an expense reimbursement system, and a detailed explanation of when to use it versus createElement are available in the following blog post.