This is an example of using the jQuery replaceWith() method.
Click the following button to see the effect