jQuery DOM changes not appearing in view source

The original source never changes. Only the DOM changes.

You can see an HTML visualization of DOM changes using your browser’s developer tools.

You should be aware that when you manipulate the DOM, you’re never manipulating HTML. The HTML visualization offered by the developer tools is an interpretation of the current state of the DOM. There’s no actual modification of HTML markup.

Leave a Comment