
jquery mobile
dragoo1
这个作者很懒,什么都没留下…
展开
-
如何去除JQuery Mobile中的默认input样式(转)
方法1: 使用jquery在创建后对所有元素增加属性 Java代码 $(document).bind( "pagecreate", function( e ) { $( "input, textarea, select", e.target ).attr( "data-" + $.mobile.ns + "role", "none" ); });方法2:转载 2016-04-26 16:55:55 · 4786 阅读 · 0 评论 -
Uncaught SyntaxError: Failed to set the 'innerHTML' property on 'Element'
环境:win7 64位,apache,chrome 44.0.2403.125写了下面一个xhtml文件 abcd 点击链接时报错:Uncaught SyntaxError: Failed to set the 'innerHTML' property on 'Element': The provided markup is原创 2016-04-27 19:43:23 · 6752 阅读 · 0 评论 -
jquery mobile在pc浏览器上设置min-height造成的错误
环境:win7 64位, chrome44.0.2403.125, jquery.mobile.1.4.2问题:一个在移动设备上正确的网页,在pc上浏览显示不全,经查,在添加jquery.mobile.js,jquery.mobile.css之后,会在body下添加一div data-role="page"style="min-height:600px;">考虑到兼容性,暂时不原创 2016-05-27 15:03:19 · 1850 阅读 · 0 评论