M
mammothman42
hi
sorry new to jscript (woops! javascript) and feeling stupid, checked
the faq and google to no avail. i've got a <td> with some text in it
that i wanted to chage, so i put this in it:
<span id="value">some text</span>
But this didn't work:
document.getElementByID('value').innerText=value;
any ideas? also, where can i find a reference so if i have, say, a
<span>, i can find all the properties and methods i can apply to it?
i've checked DOM references, but couldn't find what i needed.
cheers
dave
sorry new to jscript (woops! javascript) and feeling stupid, checked
the faq and google to no avail. i've got a <td> with some text in it
that i wanted to chage, so i put this in it:
<span id="value">some text</span>
But this didn't work:
document.getElementByID('value').innerText=value;
any ideas? also, where can i find a reference so if i have, say, a
<span>, i can find all the properties and methods i can apply to it?
i've checked DOM references, but couldn't find what i needed.
cheers
dave