Insert Content into DIV

1
2
- var div = document.getElementById('ELEMENT_ID');
- div.innerHTML = div.innerHTML + '<html>blabla</html>';
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Find Element and put stuff inside

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.