I have been starting to use Javascript a lot lately and I wanted to check
with the "group" to get your thoughts on code efficiency. First, is there a
good site/book that talks about good and bad ways to code.
The reason I ask is because I was just thinking about the following...whi ch
is better and/or why?
document.forms["myform"].elements["txtname"].value
or
document.myform .txtname.value
Just looking for some insight.
TIA
-Bruce
with the "group" to get your thoughts on code efficiency. First, is there a
good site/book that talks about good and bad ways to code.
The reason I ask is because I was just thinking about the following...whi ch
is better and/or why?
document.forms["myform"].elements["txtname"].value
or
document.myform .txtname.value
Just looking for some insight.
TIA
-Bruce
Comment