JavaScript alert not working in Android WebView
<p>In my application I am using WebView and in that I am using JavaScript alert( ) method but its not working, no pop-up appears.</p>

<p>in my manifest file I have added </p>

<pre><code>&lt;uses-permission android:name="android.permission.INTERNET"&gt;&lt;/uses-permission&gt;
</code></pre>

<p>and in activity file I have added </p>

<pre><code>mWebView = (WebView) findViewById(R.id.webview);
mWebView.getSettings().setJavaScriptEnabled(true);
mWebView.loadUrl("file:///android_asset/demo.html");
</code></pre>

<p>In layout xml file I have added</p>

<pre><code>&lt;WebView 
    android:id="@+id/webview"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
/&gt;
</code></pre>

<p>Any clue how to enable full JavaScript in WebView.</p>

<hr>

<p><strong>Update</strong></p>

<p>Thanks mark<br>
 the alert() method in the html file are working now :) .</p>

<p>Now there are two issues in WebView :
1: I am using a  in the html file that i am loading in WebView , and trying to write in Hindi language font in it,
but when i try to write Hindi text it displays as symbols (  rectangle symbols like [] ) .</p>

<p>when i do the same in firefox browser on desktop it works fine.
any clue how to give support for multiple language in textarea in WebView ?</p>

<p>2: When I am clicking submit and trying to open the value of text in alert() method in another java script it doesn't work , does it mean even after using WebChromeClient 
its applicable only for current loaded html page and not java scripts called from that page ? </p>
