1
I am programming for PHONEGAP and when I load a page per load inside my code I cannot 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 code of the page "pagina.html" would look like this:
<div id="div1">
<span id="botao1"></span>
</div>
When page loads, by clicking on "button 1" jquery does not work