摘要: var names = [];//定义数组 data.eachAll(function(param){//遍历数组 if(param.row.val('Recorded')==="false"){//满足条件 names.push(param.row.val('R... 阅读全文
posted @ 2015-08-03 17:55 一切为了生存 阅读(469) 评论(0) 推荐(0) 编辑
摘要: http://apistore.baidu.com/astore/classificationservicelist.html?sortBy=default&sortOrder=desc&pageNum=2&showAs=block&qq-pf-to=pcqq.group 阅读全文
posted @ 2015-08-03 17:44 一切为了生存 阅读(1485) 评论(0) 推荐(0) 编辑
摘要: var Data = require("$UI/system/components/justep/data/data");//引用data,找到data的js文件引用进来var data = this.comp("a"); var CurrRow = data.getCurrentRow();if... 阅读全文
posted @ 2015-08-03 17:31 一切为了生存 阅读(271) 评论(0) 推荐(0) 编辑
摘要: require("$UI/system/lib/cordova/cordova"); require("cordova!org.apache.cordova.geolocation");//引用cordova以及相关插件var options = { timeout : 10000 }; ... 阅读全文
posted @ 2015-08-03 17:26 一切为了生存 阅读(648) 评论(0) 推荐(0) 编辑