title: how to send data to Codeigniter controller in jquery ajax?
body: <p>I'm doing a search using CI and Jquery, well i'm very novice to this, this is my first time,
  i have done this code but i can't figure out how to send data to the controller and search for a value entered in the text box? can you guys help me to figure this out?</p>
  
  <p>here is my code</p>
  
  <pre><code>$(document).ready(function(){
     $('#search').live('click',function(eve){
      eve.preventDefault();
      $.get('&lt;?php echo base_url();?&gt;index.php/search_controller/perform', function(data) {
          $('#result').html(data);
      });     
     });
     });
  </code></pre>
  
  <p>regards,
  Rangana</p>