<div id="target"></div> <script type="text/javascript"> var element = $('target'); element.innerHTML = ' 要素の内容'; </script>
<div class="target"> <div></div> <div></div> <div></div> </div> <script type="text/javascript"> var elements = $$('div.target div'); for (var i = 0; i < elements.length; i ++) { elements[i].innerHTML = ' 要素の内容'; } </script>