欢迎来到易学考试网 易学考试官网
全部科目 > ajax开发考试

单项选择题

当XMLHttpRequest对象的状态发生改变时调用callBackMethod函数,下列正确的是()。

    A.xmlHttpRequest. callBackMethod=onreadystatechange;
    B.xmlHttpRequest. onreadystatechange(callBackMethod);
    C.xmlHttpRequest. onreadystatechange(new function(){callBackMethod });
    D.xmlHttpRequest. onreadystatechange= callBackMethod;

点击查看答案

相关考题

微信小程序免费搜题
微信扫一扫,加关注免费搜题

微信扫一扫,加关注免费搜题