autocomplete - retrieve input text not in term variable
Hi,
is possible to retrieve autocomplete textbox value not using the term variable but using another one?
I'm trying like this but is not working....
Thanks,
Riccardo
- <div class="ui-widget">
- <input type="text" id="csp" name="csp" />
- <p></p>
- </div>
- $(function() {
- $("#csp").autocomplete({
- source: "index.php?r=site/autoCompleteCsp"
- +"&from="+$("#from").val()
- +"&to="+$("#to").val()
- +"&period="+$("#period").val()
- +"&time_detail="+$("#time_detail").val()
- +"&information_detail="+$("#information_detail").val()
- +"&direction="+$("#direction").val()
- +"&result="+$("#result").val()
- +"&csp="+$("#csp").val()
- +"&la="+$("#la").val()
- +"&oadc="+$("#oadc").val()
- ,
- minLength: 1,
- });
- });