title: JQuery doesn't work on WebView
body: <p>I tried to include JQuery files in assets/scripts and on Internet, but the alert dialog doesn't show. I got the log output and make it output.html, it works in Windows (so strange!).
  What's the problem with WebView?</p>
  
  <pre><code>public void onCreate(final Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.main);
  
      webView = (WebView) findViewById(R.id.webView);
      final String s = "&lt;html&gt;&lt;head&gt;" +
      "&lt;link href=\"css/my.css\" type=\"text/css\" rel=\"stylesheet\" /&gt;" +
      "&lt;script src=\"scripts/jquery-1.6.2.min.js\" rel=\"stylesheet\" type=\"text/javascript\"&gt;&lt;/script&gt;" +
      "&lt;script src=\"https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.js\" type=\"text/javascript\"&gt;&lt;/script&gt;" +
      "&lt;script&gt;" +
      "$(document).ready(function(){ alert('hello'); });" +
      "&lt;/script&gt;" +
      "&lt;/head&gt;&lt;body&gt;&lt;div&gt;All I hear is raindrops." +
      "Falling on the rooftop. Oh baby tell me why you have to go. " +
      "Cause this pain I feel you won't go away. And today, " +
      "I'm officially missing you.&lt;/div&gt;&lt;/body&gt;&lt;/html&gt;";
      webView.getSettings().setJavaScriptEnabled(true);
      Log.d("Something", s);
      webView.loadDataWithBaseURL("file:///android_asset/", s, "text/html", "utf-8", null);
  }
  </code></pre>
  
  <p>This is the log output after adding extension ".html". It works on Firefox but does not on WebView. :(</p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;
  &lt;link href="css/my.css" type="text/css" rel="stylesheet" /&gt;
  &lt;script src="scripts/jquery-1.6.2.min.js" rel="stylesheet" type="text/javascript"&gt;&lt;/script&gt;
  &lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.js" type="text/javascript"&gt;&lt;/script&gt;
  &lt;script&gt;$(document).ready(function(){ alert('hello'); });&lt;/script&gt;
  &lt;/head&gt;
  &lt;body&gt;
      &lt;div&gt;
      All I hear is raindrops.Falling on the rooftop. Oh baby tell me why you have to go. Cause this pain I feel you won't go away. And today, I'm officially missing you.
      &lt;/div&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>