HBUILDER入门
来源:互联网 发布:常用排序算法java 编辑:程序博客网 时间:2024/05/14 13:12
网上完成的代码例子太少。自己记录一下
mui.init()
mui.plusReady(function() {
document.getElementById("login").addEventListener('tap', function() {
var username = document.getElementById("username").value;
console.log(username);
var password = document.getElementById("password").value;
console.log(password);
mui.ajax('http://192.168.0.109:8080/Ruif.Web/admin/mobile/doLogin', {
data: {
username:"admin",
password: "password"
},
dataType: "json",
type: "get",
timeout: 600,
success: function(data) {
alert("11" + data);
console.log(JSON.stringify(data));
},
error: function(xhr, type, errorThrown) {
console.log(type);
alert("22" + xhr);
}
});
});
})
0 0
- HBuilder入门
- HBUILDER入门
- Hbuilder入门注意点
- HBuilder
- Hbuilder
- Hbuilder
- Hbuilder
- 借助HBuilder快速开发APP入门
- 前端开发入门-Hbuilder编辑器使用方法
- Hbuilder入门如何创建一个新项目
- HBuilder 入门(5) / 编写一个登录页面
- hbuilder入门之基本配置(php)
- HBuilder 入门(5) 编写一个登录页面
- Hbuilder 教程
- HBuilder快捷键
- Hbuilder实用技巧
- HBuilder htm
- HBuilder快捷键
- Log4j日志过滤
- Clang - 是LLVM的前端,可以用来编译C,C++,ObjectiveC等语言
- 类和类的封装
- RDO Stack: Failed connect to server
- HttpServlet源码
- HBUILDER入门
- 创业日志(三)裁员
- ZCMU-1755-数字整除
- 写js控制台出现Cannot set property 'onclick' of null
- ds作业(并查集)
- Servlet过滤器和监听器
- 如何给字符串(3562123761)加千分符(3,562,123,761)
- html <a>标签不能嵌套<a>
- 获取网口名称和mac地址