document.write('

 解析:

document.getElementById() 用于获得名为 ID 值的元素;
document.myform.xxx 按照层次结构来获取;
document.getElementsByName() 用于获得所有的名字相同的元素。
');