JQuery Autocomplete issue
Hi everone
Is it possible to change the value of minLenght dynamically, depending
on the a value that is returned from a request?
Tha docs state that any option can be changed via the 'option'-method
example:
$( ".selector" ).autocomplete( "option", "minLenght", 10 );
but when i try this with a request result i get an error:
Error: cannot call methods on autocomplete prior to initialization; attempted to call method 'option'
is there a way to change minLength depending on same variable value?
thx
Martin