jquery: window.location.reload() doesn't allow to work $.post()
<p>look at this script please</p>

<pre><code>$("#change").click(function()
 {
  var val = $("#new_title").val();
  if(val == '')
  {
   alert("Նշեք խնդրեմ անունը");
   return false;
  }
  else
  {
   $.post
   (
    "change_title.php",
    {id: id, lang: lang, val: val}
   );

         window.location.reload();
  }
 });
</code></pre>

<p>where <code>id</code> and <code>lang</code> are global variables.</p>

<p>in change_title.php i'm uploading the table.</p>

<p>i want to show changes after editing, so i use  <code>window.location.reload();</code> function, but it doesn't work. if i delete <code>window.location.reload();</code> function, it works fine.</p>

<p>what is the problem?</p>

<p>Thanks</p>
