404notfound
Technical User
I have this nice little js script that can write text to a div:
-----------------------------------------
<script type="text/javascript">
//<![CDATA[
onload=function()
{
var txt=document.getElementById("myDiv")
txt.innerHTML="Some Content";
}
//]]>
</script>
<body>
<div id="myDiv"></div>
</body>
-----------------------------------------
I suppose I'm being greedy but I was wondering if there is any way this or something like this would work with html content. Where you could enter html code where "Some Content" is and have it display in the div? Thanks!
-----------------------------------------
<script type="text/javascript">
//<![CDATA[
onload=function()
{
var txt=document.getElementById("myDiv")
txt.innerHTML="Some Content";
}
//]]>
</script>
<body>
<div id="myDiv"></div>
</body>
-----------------------------------------
I suppose I'm being greedy but I was wondering if there is any way this or something like this would work with html content. Where you could enter html code where "Some Content" is and have it display in the div? Thanks!