[Expenses] Km calculation

[Expenses] Km calculation

  
Forge Component
(5)
Published on 2016-10-18 by OutSystems Labs
5 votes
Published on 2016-10-18 by OutSystems Labs
Hi

How can I make the autocomplete functionality working  when calculating the distance?
It seams there's an error here:

hookAutoComplete('$" + OriginInput.Id + "');
hookAutoComplete('$" + DestinationInput.Id + "');
If I remove the '$'  it works but there's another error saying that autocomplete is not a function.
I have tried to Import jquery using the AddJavascriptTag but is not working....