I have the following relevant code in the header of my html document:
test1.value = System.Gadget.Settings.read("Date1");
And I'm trying to display the value of test1 in the body of my html document.
Displayed when I use:
<input type="text" id="test1" />
But it does not work when I use (in the body):
<script type="text/javascript">
document.write(document.getElementById('test1').id);
</script>
Any suggestions would be greatly appreciated.
source
share