title: What is the action doing in this html page?
body: <p>Can any body help me to analysis the following html to tell me what the form action is doing for the <strong>logined_form</strong>?</p>
  
  <pre><code>&lt;form name="logined_form" action="login" method="post" style="display:none;" &gt;
      &lt;input type="hidden" name="logined" value="true" /&gt;
  
          &lt;input type="hidden" name="client_id" value="78a32e4ee9d4242134124" /&gt;                  
          &lt;input type="hidden" name="display" value="web" /&gt;                              
  &lt;/form&gt;
  
  &lt;div class="login" id="noLoginedDiv"&gt;
      &lt;form name="login_form" action="" method="post" onsubmit="return check_form();"&gt;
          &lt;ul&gt;
              &lt;li class="fix"&gt;&lt;input name="username" class="u" value="Email" type="text" onclick="username_onclick();" onblur="username_onblur();"/&gt;
              &lt;/li&gt;
              &lt;li class="fix"&gt;&lt;input name="password" class="p" type="password" /&gt;
              &lt;/li&gt;
              &lt;li&gt;&amp;nbsp;&lt;/li&gt;
              &lt;li class="fix"&gt;&lt;button&gt;Authorize&lt;/button&gt;
              &lt;/li&gt;
          &lt;/ul&gt;
      &lt;/form&gt;
  &lt;/div&gt;
  
  &lt;script type="text/javascript"&gt;
  
      var login_form = null;
      var logined_form = null;
      var xmlhttp = null;
  
      function init(){
          login_form = document.forms["login_form"];
          logined_form = document.forms["logined_form"];
      }
  
      function submitAutoLogin(){
          logined_form.submit();
      }
  
      var check_form = function(){
          if(login_form["username"].value == "Email"){
              login_form["username"].select();
              return false;
          }
          if(login_form["password"].value == ""){
              login_form["password"].select();
              return false;
          }
          xmlhttp = CreateHTTPObject();
          if (xmlhttp) {
              xmlhttp.open("POST", "https://api.mywebsite.com/login.do", true);
              xmlhttp.onreadystatechange = function(){
                  if (xmlhttp.readyState == 4) {
                      eval(xmlhttp.responseText);
                  }
              };
              xmlhttp.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"); 
              var query = "_=_";
              query += "&amp;loginname=" + encodeURIComponent(login_form["username"].value);
              query += "&amp;password=" + encodeURIComponent(login_form["password"].value);
              query += "&amp;act=ajaxLogin2Json";
              query += "&amp;app=oauth2";
              query += "&amp;callback=login_callback";
              xmlhttp.send(query);
          }
  
          return false;
      };
  
      var login_callback = function(result){
          var status = result["system"];
          if(status == 0){
              showMsg("Password wrong");
              return ;
          }else if(status &lt; 0){
              showMsg("Failed to login");
              return ;
          }
          submitAutoLogin();
      };
  &lt;/script&gt;           
  </code></pre>
  
  <p>After login successfully, the <strong><em>submitAutoLogin()</em></strong> function is called so that the logined_form is submit. But I don't understand what the action="login" means. Can anybody help? Thanks</p>