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