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

以下( )可用于检索 session 属性 userid 的值

A、sessiongetAttribute(“userid”);
B、sessionsetAttribute(“userid”);
C、requestgetParameter(“userid”);
D、requestgetAttribute(“userid”);
查看答案
正确答案:

A

答案解析:

暂无解析

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

在网页中显示特殊字符,“>”对应的是

A、gt
B、gt;
C、>
D、>

App-Code文件夹用来存储()。

A、数据库文件
B、共享文件
C、代码文件
D、主题文件

test.jsp文件中有如下一行代码:要使user对象可以作用于整个应用程序,下划线中应添入()

A、page
B、request
C、session
D、application

下列标记中不属于行内元素的是______。

A、<em>
B、<font>
C、Input
D、div

目前在Internet上应用最为广泛的服务是______。

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