MIP.watch('count', function (newVal, oldVal) { fetch('http://www.chazidian.com/kaoshi/ajaxapi/?action=guanzhu&id=30231&type=2') .then(function (res) { var follows2 = MIP.getData('follows') if(follows2==1){ MIP.setData({ follows:2, title:'收藏' }) } if(follows2==2){ console.log(2) MIP.setData({ follows:1, title:'已收藏' }) } }) .catch(function (err) { console.log('数据请求失败!') }) })

使用 JavaScript 语言中 Document的( )方法可以在页面上输出字符。

A、documentwrite()
B、documentprint()
C、documentout()
D、documentflush()
查看答案
正确答案:

A

答案解析:

暂无解析

上一题
你可能感兴趣的试题

当一个Servlet首次被请求的时候,服务器首先会调用()方法

A、doGet
B、doPost
C、doInit
D、init

下面()是静态网页文件的扩展名

A、asp
B、htm
C、aspx
D、jsp

下列符合CSS语法的正确语句是______。

A、body:color=black
B、{body;color:black}
C、body{color:black;}
D、{body:color=black}

下列技术中控制文档结构的是______。

A、DOM
B、CSS
C、JavaScript
D、XMLHttpRequest

在JavaScript中,增加单行注释的选项是_________。

A、//Thisisacomment
B、'Thisisacomment
C、
D、--Thisisacomment
热门试题 更多>
相关题库更多>
公共基础
Python语言程序设计
MS Office高级应用
Web程序设计
MySQL数据库程序设计