title: jquery Ajax call Codeigniter Controller
body: <p>In my View page jquery Ajax call like this</p>
  
  <pre><code>onclick: function() {
                          $.ajax({
                              type:'POST',
                              url:"&lt;?PHP echo base_url('trand/report/checking'); ?&gt;",
                              data: {nm:'vnky'},
                              success: function(){
                                    alert("success");
                                },
                                error: function(){
                                  alert("error");
                                }
                          });
                          chart2.exportChart({
                              type: 'image/png', 
                              filename: dynmicfilename
                          });
  
                      }
  </code></pre>
  
  <p>exportchart function works perfectly .Inside ajax call also working alerts nice, but url is not executed, by using firebug when clicking the url in new tab , then it works fine. </p>
  
  <p>How can I execute url in ajax call. can you help on this ?</p>