T
Ton den Hartog
Stupid basic question but I find it horribly imposible to find the answer
elsewhere... :-(
I want to have a piece of text in my HTML page and want to be able to change
it in a Javascript function that is called from a button. I think I can use
a
<div id="t"></div>
for this ? Something like
document.t.value="Hello"
should change it into
<div id="t">Hello</div>
I am getting fucking mad at finding these simple things.... Is there a good
intro somewhere ? My thick Oreilly JS book is just too busy with the
complicated stuff somehow :-((
Ton
elsewhere... :-(
I want to have a piece of text in my HTML page and want to be able to change
it in a Javascript function that is called from a button. I think I can use
a
<div id="t"></div>
for this ? Something like
document.t.value="Hello"
should change it into
<div id="t">Hello</div>
I am getting fucking mad at finding these simple things.... Is there a good
intro somewhere ? My thick Oreilly JS book is just too busy with the
complicated stuff somehow :-((
Ton