post form to external host

post form to external host


hello every body
i have a form and i want to post it's fields to external page
like
  1. <script src="http://code.jquery.com/jquery-latest.js"></script>
  2.   <script type="text/javascript">
    $(document).ready(function(){
  3. $("input:submit").click(function(){
    $.post("http://xxxxxx.net/login.php",{email:$("#email").val()},function(data){
    $("#contents").html(data);
    });
    return false;
    });
    });
    </script> 






  4. this code not working and return no thing
    but when i chang the url to local page it working fine 
  1. <script src="http://code.jquery.com/jquery-latest.js"></script>
  2.   <script type="text/javascript">
    $(document).ready(function(){
  3. $("input:submit").click(function(){
    $.post("login.php",{email:$("#email").val()},function(data){
    $("#contents").html(data);
    });
    return false;
    });
    });
    </script> 






  4. any help???