Search…

X3 Photo Gallery Support Forums

Search…
 
User avatar
TristanJo
Experienced
Topic Author
Posts: 116
Joined: 10 Apr 2018, 02:57

Autocomplete

08 Jan 2021, 04:51

스크린샷 2021-01-08 오후 6.49.30.png
스크린샷 2021-01-08 오후 6.49.30.png (392.95 KiB) Viewed 1997 times
Autocomplete
https://jqueryui.com/autocomplete/

Hi, karl. ^^

I want to put the autocomplete function on the content page.

Please tell me the reason why it doesn't work.

Thank you.
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13993
Joined: 30 Sep 2006, 03:37

Re: Autocomplete

08 Jan 2021, 05:53

Where did you add it? How can I tell you the reason if I don't know the link ...

Also, you would have to make sure to include ALL necessary javascript libraries, and that they are all compatible with latest jQuery 3.5.1, which is already included in X3. You can't overwrite X3's jQuery with a different version of jQuery. In your example screenshot, I see reference to jQuery 1.12.4, which is very old and outdated. This to me sounds like a very complicated task for you unless you are comfortable with Javascript.
 
User avatar
TristanJo
Experienced
Topic Author
Posts: 116
Joined: 10 Apr 2018, 02:57

Re: Autocomplete

09 Jan 2021, 01:45

mjau-mjau wrote: Where did you add it? How can I tell you the reason if I don't know the link ...

Also, you would have to make sure to include ALL necessary javascript libraries, and that they are all compatible with latest jQuery 3.5.1, which is already included in X3. You can't overwrite X3's jQuery with a different version of jQuery. In your example screenshot, I see reference to jQuery 1.12.4, which is very old and outdated. This to me sounds like a very complicated task for you unless you are comfortable with Javascript.
I've fixed it. 
I'm so sorry for the trouble.
Thank you.