title: jQuery .load() codeigniter page
body: <p>I am trying to build an Ajax suggestion feature within codeigniter using jQuery. However, when I am using the .load() function within jQuery I cannot find a way to call the controller, I am calling it as so:</p>
  
  <p><code>$("#sugresultcontain").load('http://localhost/ajaxtest/suggest #loadsuggest');</code></p>
  
  <p>However, the content does not load. I then tried to use:</p>
  
  <p><code>$("#sugresultcontain").load('http://localhost/ajaxtest/application/views/ajaxref/suggest.php #loadsuggest');</code></p>
  
  <p>And as expected, again this did not work as I need to make a call to the controller and not just the view itself. </p>
  
  <p>So my question is, how can I use the .load() AJAX function to call to the controller that outputs suggest.php.</p>
  
  <p>If more detail is needed, please just ask.</p>