[thelist] javascript var question

Brian Cummiskey Brian at hondaswap.com
Wed May 3 13:46:37 CDT 2006


Why does this work:

document.getElementById("myinput").value = "my text";



But this doesn't:

var o = document.getElementById("myinput").value;
o = "my text";





More information about the thelist mailing list