On my website I am using ajax post request to show content around my site, this is done using this code, \[code\]$("a.contentlink").click(function(ev) { ev.preventDefault(); $('#main_menu').hide(); var url = $(this).attr("href"); var data = "http://stackoverflow.com/questions/2048287/calltype=full&url="+url; $.ajax({ url:url, type: "POST", data: data, success : function (html) { $('#left-content-holder').html(html); } })});\[/code\]as you can see I am passing the url into the `$_POST' and I can access this in the method the javascript calls, this method is called get_content_abstract and looks like this,\[code\]public function get_content_abstract() { $this->load->model('content_model'); if($this->input->post('calltype') == "abstract"){ if($query = $this->content_model->get_content_by_id($this->uri->segment(3))) { $data['abstract'] = $query; } $this->load->view('template/abstract', $data); } elseif($this->input->post('calltype') == "full") { if($query = $this->content_model->get_content_by_id($this->uri->segment(3))) { $data['full'] = $query; } $this->load->view('template/full-content', $data); }}\[/code\]How ever I have no added a new function that will allow the user to save the content to 'bookmarking system', however in my method I cannot access the post using codeigniters \[code\]$this->input-post('url')\[/code\] (where URL is the one of peices of data passed in the javascript), it says that the post is empty when I var dump it, this is done using this method,\[code\] public function love_this() { die(var_dump($this->post->input('url')));}\[/code\]can anyone help as to why the post is empty in this love_this method?