2006-04-21

The programming: InnerHTML

Funny, did not know about it.


<script language="JavaScript" type="text/javascript">
elemenet=document.getElementById("ID_ELEM");
element.innerHTML = "Here <i>may be<b>any</b></i> HTML text."
</script>


Web page contents can be free and easy changed in dynamics. Cross-browser enough.

No comments:

Post a Comment