表单对象
document.forms[i].elements[j]
obj=document.getElementById('input');
obj.defaultValue
obj.disabled
obj.select();//this.select();选择文本
obj2=document.getElementById('select');
obj2.options[obj2.options.length]=new Option('text','value');
obj2.remove(index);//index是数字
obj2.selectedIndex
<input type='file'......onchange=>
form.elements[i]
obj3=div_obj.firstChild;
obj3.data='div标签内的文本';