I need to send data from a form via post using the jquery autocomplete
so far I have the following method
$("#autocompletar").autocomplete(
"<?php print base_url();?>Controller/Autocompletar/",
{
delay:10,
minChars:1,
matchSubset:1,
matchContains:1,
cacheLength:10,
onItemSelect:selectItem,
onFindValue:findValue,
autoFill:false,
formatItem:formatItem,
}
);
This sends the data of the autocomplete by get, I have a data of an input:
'dato': $('#id_dato').val(),
How can I send this data using the autocomplete and capture it in the backend I am using php 5
$this->input->post('dato');
Maybe some plugin function ... thanks.