单项选择题
当XMLHttpRequest对象的状态发生改变时调用callBackMethod函数,下列正确的是()。
A.xmlHttpRequest. callBackMethod=onreadystatechange;
B.xmlHttpRequest. onreadystatechange(callBackMethod);
C.xmlHttpRequest. onreadystatechange(new function(){callBackMethod });
D.xmlHttpRequest. onreadystatechange= callBackMethod;
点击查看答案
相关考题
-
多项选择题
以下是Ajax的XMLHttpRequest对象属性的有()。
A.onreadystatechange
B.abort
C.responseText
D.status -
多项选择题
Ajax的关键元素包括()。
A.JavaScript
B.DOM文档对象
C.CSS样式表
D.XMLHttpRequest对象 -
多项选择题
下面()不是XMLHttpRequest对象的方法。
A.open()
B.send()
C.readState
D.responseText
