javacript getElementById().value doesn't work
- by phil
Is there anything wrong with the code? It's not working.
<script>
t=document.getElementById('good');
document.write(t.value);
</script>
HTML:
Type-here: <input id='good' type='text' value="my value is high">