Android webview with jquery not working
<p>i'm trying to combine some code of jquery on my application webview.</p>

<p>i'm saving on my assets folder the files:
1. jquery-1.8.1.js
2. a.js
3. b.js</p>

<p>all those files working together.</p>

<p>im getting html code from server and i'm saving it on file on the sd-card, that file called test.html.</p>

<p>before im saving that html file i do this:</p>

<pre><code>HTML = HTML.replace("&lt;HEAD&gt;", "&lt;HEAD&gt;" + "\n" + 
                        "&lt;script type=\"text/javascript\" src=\"file:///android_asset/jquery-1.8.1\"&gt;&lt;/script&gt;" + "\n" +
                        "&lt;script type=\"text/javascript\" src=\"file:///android_asset/a.js\"&gt;&lt;/script&gt;" + "\n" +
                        "&lt;script type=\"text/javascript\" src=\"file:///android_asset/b.js\"&gt;&lt;/script&gt;");
</code></pre>

<p>in the right order that worked for me on a pc browser.
but on the devide the js files dont work for me at all.</p>

<p>i have set those before to my webview:</p>

<pre><code>WebView web_Body=(WebView)findViewById(R.id.forms_webview);

WebSettings webSettings = web_Body.getSettings();
webSettings.setJavaScriptEnabled(true);
web_Body.getSettings().setPluginState(WebSettings.PluginState.ON);
web_Body.getSettings().setPluginsEnabled(true);
webSettings.setBuiltInZoomControls(true);
webSettings.setSupportZoom(true);
</code></pre>

<p>and than i do this for opening the file:</p>

<pre><code>web_Body.loadUrl("/sdcard/temp/test.html");
</code></pre>

<p>i just want to say again that in pc browser all works fine.</p>

<p>thanks in advance!!</p>
