title: jquery does not work in my WebView
body: <p>I am making an iOS application using a WebView from my webapp.
  I am having a problem with a jquery button. I am using jQuery 2.1.4. Here is my code:</p>
  
  <pre><code>$("#fakeinput").click(function() {
      $("#fos_user_profile_form_profilePictureFile").click();
  });
  </code></pre>
  
  <p>I am trying to create a button "fakeinput" that calls a form to upload a profile picture. This works well on my webapp, but it does not work on my application. Am I missing something? It used to work when I used this but I had to spam the button to make it work:</p>
  
  <pre><code>$(document).on('touchstart click', '#fakeinput', function(){
      $("#fos_user_profile_form_profilePictureFile").click();
  });
  </code></pre>
  
  <p>Do you have an idea of where it could come from?</p>
  
  <p>EDIT: Here is how my button is called.</p>
  
  <pre><code>&lt;div class="btn" id="fakeinput"&gt;
      {{ 'Changer de photo'|trans }}
  &lt;/div&gt;
  {{ form_widget(form.profilePictureFile, {'attr': {'class': 'form-control'}}) }}
  </code></pre>