[RSS Feed/News] Error when using JS autocomplete() function

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
Hi
I'm trying to add a JS function to generate an autocomplete input, but keep getting the error:
Uncaught TypeError: jQuery(...).autocomplete is not a function

I've added the scripts:
HTML:

Code:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js"></script>

and created a new template to add the stylesheet:
HTML:

<xf:css src="jquery_ui.css" />

Has anyone else got this...

Read more

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom