La función jquery mobile live no funciona al usar la brecha del teléfono para Android

jquery mobile live function not working in using phone gap for android .see my below code can anybody tell what is problem I have included jquery libray and phongap js can anybody tell what is problem ? and one more question is if this event is not fired how to fire default event in phone gap

<

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;
        });
 });

Muchas Gracias

preguntado el 01 de febrero de 12 a las 14:02

2 Respuestas

There is an extra '{' after swiperight ....

Respondido 01 Feb 12, 20:02

$('body').live('swiperight', function() { 
            alert( 'You swiped!' ); 
    return false;
        });

Respondido 02 Feb 12, 10:02

No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas or haz tu propia pregunta.