title: use jquery in phonegap
body: <p>Hi i am starting to use phonegap and i have some problems for make a button click action.</p>
  
  <p>My best chance was:</p>
  
  <p>index.html:</p>
  
  <pre><code>&lt;html&gt;
      &lt;head&gt;
          &lt;meta http-equiv="Content-Security-Policy" content="default-src 'self' data: gap: https://ssl.gstatic.com 'unsafe-eval'; style-src 'self' 'unsafe-inline'; media-src *"&gt;
          &lt;meta name="format-detection" content="telephone=no"&gt;
          &lt;meta name="msapplication-tap-highlight" content="no"&gt;
          &lt;meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width"&gt;
          &lt;link rel="stylesheet" type="text/css" href="css/index.css"&gt;
          &lt;title&gt;Hello World&lt;/title&gt;
      &lt;/head&gt;
      &lt;body&gt;
          &lt;button id="botonPrueba"&gt;pulsame&lt;/button&gt;
          &lt;div id="mostrar"&gt;&lt;/div&gt;
          &lt;script type="text/javascript" src="resources//jquery-1.12.3.min.js"&gt;&lt;/script&gt;
          &lt;script type="text/javascript" src="cordova.js"&gt;&lt;/script&gt;
          &lt;script type="text/javascript" src="js/index.js"&gt;&lt;/script&gt;
  
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>index.js:</p>
  
  <pre><code>function muestraAction() {
      $("#mostrar").html("ola");
  }
  
  $(document).ready(function () {
      // jQuery is properly loaded at this point
      // so proceed to bind the Cordova's deviceready event
      $(document).bind("deviceready", function () {
  
          $("#botonPrueba").bind('click', muestraAction());
  
      });
  });
  </code></pre>
  
  <p>In a normal webpage all work fine but in phonegap not.</p>
  
  <p>where i wrong?</p>
  
  <p>in browser say me that don't find cordova.js but in the emulator not.</p>