Skip to content
This repository has been archived by the owner on Jul 2, 2018. It is now read-only.

if i have a select to chang input autocomplete url,what should I do? #94

Open
lcat opened this issue Aug 6, 2013 · 0 comments
Open

Comments

@lcat
Copy link

lcat commented Aug 6, 2013

var selectVal;
$('select').change(function(){
selecrVal = $(this).val();
});
$('#ac_ipt').autocomplete({
url: 'do.php',
extraParams: {search_type: selectVal},
remoteDataType: 'json',
minChars: 1
});
this not work,what should I do?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant