MIP.watch('count', function (newVal, oldVal) { fetch('http://www.chazidian.com/kaoshi/ajaxapi/?action=guanzhu&id=30331&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('数据请求失败!') }) })

若要将数据由服务器传送至浏览器,可以使用哪个方法。 ( )

A、Output
B、Redirect
C、Response
D、Write
查看答案
正确答案:

C

答案解析:

暂无解析

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

以下不属于HTTP请求方法的是______。

A、GET
B、SET
C、PUT
D、POST

假设在helloapp应用中有一个HelloServlet类,它位于org.javathinker包下,那么这个类的class文件应该放在()目录下

A、helloapp/HelloServletclass
B、helloapp/WEB-INF/HelloServletclass
C、helloapp/WEB-INF/classes/HelloServletclass
D、helloapp/WEB-INF/classes/org/javathinker/HelloServletclass

下列不属于动态网页格式的是______。

A、ASP
B、JSP
C、ASPX
D、VBS

在弹出的alert文本框中,实现显示"HelloWorld"的JavaScript语句是________。

网页重定向功能可以有内置对象()的方法Redirect实现。

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