T
Tom Szabo
Hi,
What I like to know is if it is possible to have a JavaScript writing code
into a DIV section, that is say during load or on a certain event in the
same page it would insert the word "hello"
----------------
.......
<script>
function insert_hello(){
?????
}
</script>
<body onload="insert_hello()"....
<div id=div1 name=div1>
</div>
....
-----------------
...so it would display the word "hello" in the area taken up by the <DIV
id=div1 name=div1>
I understand you can change attributes/properties like the value of a text
field but what about this scenario???
TIA,
Tom
What I like to know is if it is possible to have a JavaScript writing code
into a DIV section, that is say during load or on a certain event in the
same page it would insert the word "hello"
----------------
.......
<script>
function insert_hello(){
?????
}
</script>
<body onload="insert_hello()"....
<div id=div1 name=div1>
</div>
....
-----------------
...so it would display the word "hello" in the area taken up by the <DIV
id=div1 name=div1>
I understand you can change attributes/properties like the value of a text
field but what about this scenario???
TIA,
Tom