title: How can I autologin into a website with IE?
body: <p>I use below source code in my script.</p>
  
  <p>I worked fine with Crome Browser.</p>
  
  <p>but didn't work with Internet Explorer.</p>
  
  <p>How can I do?</p>
  
  <p>somebody help me please.</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;head&gt;
      &lt;title&gt;&lt;/title&gt;
      &lt;script language="JavaScript"&gt;
          &lt;!--
          function login() {
              document.form1.action="http://website.com/login/login.asp";
              document.form1.submit();
          }
          //--&gt;
      &lt;/script&gt;
  &lt;/head&gt;
  &lt;body onload="login()"&gt;
  &lt;form method=post name="form1" id="form1"&gt;
      &lt;input type="hidden" name="ID_Text" value="abcd"&gt;
      &lt;input type="hidden" name="PW_Text" value="abcd"&gt;
  &lt;/form&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>