I have used the suggest framework to look up companies
from a database of several thousand and it works
well. However I would like to take an action after
the final value is selected and so would like to
launch another script function. All would be fine if
some browsers supported the onchange event correctly,
but they don't!
my email is mike@jupps.co.uk
thanks for your time
Mike Jupp
Logged In: YES
user_id=1325304
This is actually a bug in the program. I will be addressing
this in the next version.
Logged In: NO
Figured it out myself, may not be the most elegant but it works!
In the HTML include afterselect="somefunction()" in the autosuggest input.
In the javascript suggestFramework add this(line numbers approximate):
448 if(getAttributeByName(inputElements[instance], "afterselect")) sfw[instance].afterselect = getAttributeByName(inputElements[instance], "afterselect");
280 eval(sfw[instance].afterselect);