Jquery mobile - do not load my main.js after the change page

0

I mounted a page using jquery mobile with the function of all buttons in a main.js file Divs that when clicked I check in js and do the action ex:

$( "#mais-op" ).on( "tap", function() {
  $.mobile.changePage( "2.html", { transition: "pop"} );
});

Everything works fine until I change the page to another page. When on the other page the on tap does not roll as if it had not loaded main.js more. But if I reload the page everything works again

How do I resolve this? Thanks

    
asked by anonymous 14.01.2015 / 03:02

0 answers