摘要: jQuery Mobile如何使用GA(Google Analytics)?什么是GA:http://baike.baidu.com/view/34729.htmhttp://www.google.com/analytics/如何在JQM中使用:http://stackoverflow.com/questions/8848579/how-to-integrate-google-analytics-into-a-jquerymobile-websitejQuery Mobile如何使用require.js?什么是requireJS:http://www.sitepoint.com/underst 阅读全文
posted @ 2013-08-06 14:21 易方 阅读(606) 评论(0) 推荐(0) 编辑
摘要: jQuery Mobile里都有什么控件?http://api.jquerymobile.com/category/widgets/jQuery Mobile里slider控件的change事件怎么玩?slider控件有slider图标和可输入input两部份组成http://api.jquerymobile.com/slider/#event-stophttp://forum.jquery.com/topic/setting-a-sliders-value-without-triggering-the-change-event$( ".selector" ).slider 阅读全文
posted @ 2013-08-06 14:20 易方 阅读(499) 评论(0) 推荐(0) 编辑
摘要: jQuery Mobile初始页面DOM Cache所引发的问题HTML元素事件多次触发:jsFiddle:http://jsfiddle.net/gn9JA/2/cause: 在jsFiddle示例中绑定了pageshow事件处理函数,因为btnTest按钮一直存在于DOM中,所以每次pageshow都会为btnTest按钮添加一次事件solution://off click event handler first$('#btnTest').off('click').on('click', function(){ alert(1);});使用j 阅读全文
posted @ 2013-08-06 14:18 易方 阅读(495) 评论(0) 推荐(0) 编辑
摘要: jQuery Mobile里$(document).ready()怎么用呀?相关链接:http://stackoverflow.com/questions/14468659/jquery-mobile-document-ready-vs-page-eventshttp://jquerymobile.com/demos/1.2.1/docs/api/events.htmlhttp://jquerymobile.com/demos/1.0.1/docs/pages/page-scripting.html注意事项:Use $(document).bind('pageinit/pageshow 阅读全文
posted @ 2013-08-06 14:16 易方 阅读(1664) 评论(0) 推荐(0) 编辑