Abakada DHTML Demo: Insert HTML Sample


This example shows use of the innerHTML property to check for the existence of content on a DIV. A function inserts a script into the DIV if it isn't already there, using the insertAdjacentHTML method.

Click to insert the script.

View Source   Exit

© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.