下列哪个方法可以用来获取HTML元素的属性值?
下列哪个方法可以用来获取HTML元素的属性值?
A、ElEMEnt.gEtAttributE("MyAttributE")
B、ElEMEnt.MyAttributE
C、ElEMEnt.attributE("MyAttributE")
D、以上都可以
正确答案:ElEMEnt.gEtAttributE("MyAttributE")
下列哪个方法可以用来获取HTML元素的属性值?
A、ElEMEnt.gEtAttributE("MyAttributE")
B、ElEMEnt.MyAttributE
C、ElEMEnt.attributE("MyAttributE")
D、以上都可以
正确答案:ElEMEnt.gEtAttributE("MyAttributE")
相关答案
热门答案