HTML5第8次课堂笔记
1. 模拟form表单提交数据:(get方式)
body>
form
method="get"action="DataTest7">
input
type="text"name="uname"
value="yang"id="myname">br/>
input
type="password"name="upass"
value...
分类:
Web程序 时间:
2016-04-22 19:48:11
阅读次数:
243
mui.init({ pullRefresh:{ container: '#contanier', indicators:false, up:{ height:200, contentinit: '', contentdown: '', contentrefresh: '', contentnomo ...
分类:
其他好文 时间:
2016-04-15 21:54:44
阅读次数:
183
var ajax = function () { mui.ajax(projectPath+'/goods/goodsprice.do', { dataType: 'json', type: 'post',//HTTP请求类型 success: function (data) { //获得服务器响应 ...
分类:
Web程序 时间:
2016-04-15 10:37:26
阅读次数:
175
页面初始化
在app开发中,若要使用HTML5+扩展api,必须等plusready事件发生后才能正常使用,mui将该事件封装成了mui.plusReady()方法,涉及到HTML5+的api,建议都写在mui.plusReady方法中。如下为打印当前页面URL的示例:mui.plusReady(function(){
console.log("当前页面URL..
分类:
移动开发 时间:
2016-04-12 16:05:41
阅读次数:
391
文章来源:http://www.111cn.net/sys/CentOS/67213.htm 一、页面刷新问题 1.父页面A跳转到子页面B,B页面修改数据后再跳回A页面,刷新A页面数据 (1).父页面A代码 window.addEventListener("pageflowrefresh", fun ...
分类:
其他好文 时间:
2016-04-05 14:10:05
阅读次数:
325
最近在用MUI开发这个APP,发现有时候这个plusready不起作用,表现在,这个页面如果重复打开,这个plusready就进不去,然后上一个页面传过来的值,就没法接收了。这个经过MUI官方确认,是有可能发生的,所以,这里面的话,就需要通过自定义事件,来确保这个值能正确传递。 首先,我先演示一下, ...
分类:
移动开发 时间:
2016-04-03 11:45:15
阅读次数:
247
本次是获取个推ClientID的方法 //监听消息开始 document.addEventListener("plusready", function() { // 监听点击消息事件 plus.push.addEventListener("... ...
分类:
其他好文 时间:
2016-04-03 11:42:03
阅读次数:
5269
关于mui document.getElementById("about").addEventListener('tap', function()... ...
分类:
其他好文 时间:
2016-04-03 11:41:46
阅读次数:
146
-->
.mui-bar-nav {
background-color: #00abed;
-webkit-box-shadow: none;
box-shadow: none;
}
.mui-bar {
height: 80px;
line-height: 80px;
}
.mui-title...
分类:
Web程序 时间:
2016-03-30 13:11:33
阅读次数:
182
-->
//发送图片后,点击图片大图预览用的
.mui-bar-nav {
background-color: #00abed;
-webkit-box-shadow: none;
box-shadow: none;
}
.mui-bar {
height: 80px;
line-height: 80px;
...
分类:
Web程序 时间:
2016-03-30 11:06:00
阅读次数:
974