title: Set element value not show while executing javascript using Android WebView on hotmail
body: <p>When I try to execute a block of javascript on Android WebView to set email/password automatically for hotmail, I found the value I set not show at all.</p>
  
  <p>Following is the javascript:</p>
  
  <pre><code>String strScripts = "javascript:(function(){" +
    "var items = document.getElementsByTagName('Input');" +
    "for(var i=0;i&lt;items.length;i++){" +
       "if( ('text' == items[i].type.toLowerCase() || 'username' == items[i].name.toLowerCase()) ) {items[i].value='accountname';}" +
      "else if( ('email' == items[i].type.toLowerCase()) ) {items[i].value='accountname@hotmail.com';}" +
      "else if( ('password' == items[i].type.toLowerCase() || 'password' == items[i].name.toLowerCase()) ) {items[i].value='123456';}" +
  "}}" +
  "})()";
  mWebView.loadUrl(strScripts);
  </code></pre>
  
  <p>I did this inside onPageFinised callback, so the page should complete the loading.
  But after it executed, the values didn't appear on the input fields.</p>
  
  <p>Can anyone offer some help/suggestion on this? Thank you!</p>