I'm programming for PHONEGAP and JQUERY MOBILE does not work on the pages I'm loading

1

I'm programming for PHONEGAP and when I load a page per load within my code I can not use any type of selector or Jquery for that code.

Example

    <script>
    (document).ready{function(){
        ("#botao1").click(
        //acao
        )
    }}

    function carregar(){
      ("#minhadiv").load("pagina.html");
    }
    </script>

The page code "page.html" would look like this:

    <div id="div1">
        <span id="botao1"></span>
    </div>

When the page loads, clicking "button1" jquery does not work

    
asked by anonymous 20.01.2017 / 23:33

0 answers