获取input节点的正确方法是()
A: document.querySelectorAll('file')[0]
B: document.getElementById('file')[0]
C: document.getElementByTagName('file')[0]
D: document.getElementsByName('file')[0]
A: document.querySelectorAll('file')[0]
B: document.getElementById('file')[0]
C: document.getElementByTagName('file')[0]
D: document.getElementsByName('file')[0]
举一反三
- A.deviceB.paperC.fileD.document A: device B: paper C: file D: document
- 下面不是document对象的方法的是() A: getElementById() B: getElementsByName() C: getElementsByTagName() D: getElementByTagName()
- Which of the following is not an example of a document file? A: Spreadsheet B: Memo C: Letter D: Term paper
- Any file that travels with an e-mail message is called an e-mail___________. A: attachment B: page C: writing D: document
- document对象包含了哪些访问文档节点的方法()? A: getElementById() B: getElementByLink() C: getElementsByName() D: getElementsByTagName()