$.ajax & post data - can not solve for a few days...

$.ajax & post data - can not solve for a few days...

I have really simply code:

  1. <script type="text/javascript">

  2.  function check(v)
  3.   {
  4.    if(v!='')
  5.     {
  6.      $.ajax({
  7.        type: "POST",
  8.        url: "test.php",
  9.        data: { test : "123" },
  10.        dataType: "text",
  11.        error: function(textStatus, errorThrown)
  12.         {
  13.          alert(textStatus+", "+errorThrown);
  14.         },
  15.        success:  function(data)
  16.         {
  17.          alert(data);
  18.         }
  19.       })
  20.     }
  21.   }

  22. </script>

and PHP:

  1.   <?php

  2.    echo $_POST['test'];

  3.    exit;
  4.    
  5.   ?>

Everything works fine on IE (8 & 6), Firefox Chrome, on my local computer (Windows, Apache 2.2.9, PHP 5.2.6).
But on the remote server (Linux, Apache 2.2.3, PHP 5.1.6) doesn't work on IE (both 8 and 6). Error hander (which you can see in the code) returns:  parseerror, [object Error]. On Firefox & Chrome it's working OK... :/

I can't manage with that for a few days. Thanks for any help!