单项选择题

使用脚本进行表单数据验证时,需要使用document对象的哪个方法来获取表单元素?()

A.getElementbyid
B.getElementById
C.getElementBYId
D.GetElementById