title: checking out the login result
body: <p>I am trying to integrate cpanel to my cms...
  I have this code to remote logins:</p>
  
  <pre><code>&lt;form action=’http://www.yourdomain.com:2082/login/’ method=’post’&gt;
  &lt;table border=’1′ width=’250′ cellpadding=’2′ cellspacing=’0′&gt;
  &lt;tr&gt;
  &lt;td align=’right’&gt;Username:&lt;/td&gt;
  &lt;td&gt;&lt;input type=’text’ name=’user’&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
  &lt;td align=’right’&gt;Password:&lt;/td&gt;
  &lt;td&gt;&lt;input type=’password’ name=’pass’&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
  &lt;td colspan=’2′ align=’center’&gt;&lt;input type=’reset’ name=’r1′ value=’Reset’&gt;&lt;input type=’submit’ name=’s1′ value=’Login’&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;/table&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>This form loads cpanel after successful login. I don't want this form to loads cpanel after successful login. I want to load another page of my cms after successful login. So, I would like to check if login is successful or not. I tried to do it with jquery however jquery did not work on cross domain. Does anyone got any suggestion for this situation?</p>