jQuery.html() not working in android application, made with cordova
<p><strong>Solution</strong></p>

<p>This was not the real issue. The issue was that one of the javascript didn't load.</p>

<p>I asked a new question about it here: <a href="https://stackoverflow.com/questions/41116344/cant-call-functions-from-first-included-javascript-file-from-the-second-include">Can&#39;t call functions from first included javascript file from the second included js file</a></p>

<p><strong>My original question</strong></p>

<p>When I view my application in a browser (before I build/compile it with Cordova), everything works fine. But after i build it with Cordova, <code>$("#content").html("test");</code> doesn't work anymore on android 4.2.2. however, it does work on android 6.0.0. <code>alert("test");</code>.</p>

<p>First I though that jQuery isn't working... But then I tried this:</p>

<pre><code>$("body").click(function() {
    alert("test");
});
</code></pre>

<p>and it worked.</p>

<p>Any ideas why the <code>.html()</code> method is not working?</p>

<p><strong>UPDATE</strong></p>

<p>This is how the element with the id "content" looks like:</p>

<pre><code>&lt;div id="content"&gt;
&lt;/div&gt;
</code></pre>

<p>I tried to add some content like this:</p>

<pre><code>$('#content').html(`&lt;span&gt;test1&lt;/span&gt;`);
</code></pre>

<p>On all android versions i use Google Chrome as my browser.</p>

<p><strong>UPDATE #2</strong></p>

<p>I tried the <code>html()</code> method inside and outside of</p>

<pre><code>$(document).ready(function(){});
</code></pre>