title: Ajax jquery returns blank page
body: <p>I have this JavaScript code:</p>
  
  <pre><code>$(document).ready(function(){ 
             $('#sel').change(function(){
  
          $.ajax({
                        type: "POST", 
                        url: "modules.php?name=TransProject_Management&amp;file=index",
                        data: "&amp;op=index_stat&amp;stat="+$(this).val(),
                        cache: false,
                        success: function(data) {
                           //alert(data);
                           $("#ajax_results").html(data);
                       }
                    }); 
  
  });
  });
  </code></pre>
  
  <p>On status change i need to refresh a div without page reload. But it returns blank page. If i try alert the result on success, i get the response, also i checked with inspect element, its ok. The problem is that it returns blank page.</p>
  
  <p>The file i'm working on, is the same( modules.php?name=TransProject_Management&amp;file=index ) i called in ajax.</p>
  
  <p>the html:</p>
  
  <pre><code>&lt;body&gt;
  //...
  &lt;div id="ajax_results"&gt;
  //.....
  //somewhere here is the select option &lt;select id="sel"&gt;......&lt;/select&gt;
  //.....
  &lt;/div&gt;
  &lt;/body&gt;
  </code></pre>
  
  <p>Any help, would be very appreciated.</p>