Return to Snippet

Revision: 51730
at October 2, 2011 23:50 by axxe16


Initial Code
$( '[data-role=page]' ).live('pageshow', function(event){ 
      var $et = $( event.target ),
            pageID = '#pagina2';
      if( $et.is( pageID )  || $et.children(0).is( pageID ) ){
            //metti qui l'evento
      }
});

Initial URL

                                

Initial Description

                                

Initial Title
avvia uno script data un'ID

Initial Tags
jquery, mobile

Initial Language
JavaScript