title: Is this a valid url parameter in jquery.ajax()?
body: <p>Is this a valid url parameter in jquery.ajax(),</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
     $(document).ready(function() {
      getRecordspage();
    });
  
    function getRecordspage() {
      $.ajax({
          type: "POST",
          url: "http://localhost/codeigniter_cup_myth/index.php/adminController/mainAccount",
          data: "",
          contentType: "application/json; charset=utf-8",
          global:false,
          async: false,
          dataType: "json",
          success: function(jsonObj) {
             alert(jsonobj);
          }
      });
  }
   &lt;/script&gt;
  </code></pre>
  
  <p>The url doesn't seem to go to my controller function...</p>