Ho provato a modificare il controller così:
ma la risposta che mi arriva è sempre false...sembra che non prenda il post di "prov", che, verificato con firebug, viene creato correttamente.....dove sto sbagliando?!Codice PHP:
public function filter_comuni(){
$provincia = $this->input->get_post("prov");
$this->output->set_content_type("Content-type: application/json")
->set_output(json_encode($this->concert_model->get_comuni($provincia)));
}
Grazie a tutti!