Hi
I have this working with an external source using the default @ trigger how might i adapt it So the trigger is either a “@” or “#” and to be able to pass the trigger into the source script to perform two different queries
like
/source.pl?term=MyTerm&trigger=#
also is there a way to set minLength:3 and a delay?
OK If i have this in my HTML header
Is this Trigger overriding the Trigger in the script options?
I How do I pass the '#' into the source
Either like
source: "/cgi-bin/AorHSearch1.pl?term#MyTerm",
or
source: "/cgi-bin/AorHSearch1.pl?term=MyTerm&trigger=#",
$(function() {
$('#inputbox').triggeredAutocomplete({
hidden: '#hidden_inputbox',
source: "/cgi-bin/AorHSearch.pl",
triger: "#"
});
Thank you
This doesn't support two triggers, but you can change the default trigger in the options. Refer to the option descriptions at the top of the code.