![](/img/trans.png)
[英]How to add send email functionality using jQuery Mobile Phone-Gap for iPhone&Android
[英]jquery mobile live function not working in using phone gap for android
jQuery mobile live函數無法在使用Android的手機間隙中使用。請參閱下面的代碼,誰能告訴我是什么問題,我包含了jquery libray和phongap js誰能告訴我是什么問題? 還有一個問題是,如果未觸發此事件,如何在電話間隙中觸發默認事件
<
link rel="stylesheet" href="jquery.mobile/jquery.mobile-1.0.1.css" type="text/css"/>
<link rel="stylesheet" href="master.css" type="text/css"/>
<script type="text/javascript" charset="utf-8" src="jquery.mobile/jquery-1.6.4.min"></script>
<script type="text/javascript" charset="utf-8" src="phonegap-1.3.0.js"></script>
<script type="text/javascript" charset="utf-8" src="jquery.mobile/jquery.mobile-1.0.1.js"></script>
$( function()
{
$("#body").live('swiperight', function() {
{
alert( 'You swiped!' );
return false;
});
});
謝謝
向右滑動后還有一個額外的'{'....
$('body').live('swiperight', function() {
alert( 'You swiped!' );
return false;
});
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.