Problems with Jquery UI
Im building a search autocomplete using Jquery UI. Everything worked perfectly fine when I built the search in a minimal document with nothing but an input. eg:
<
input
id
=
"autocomplete"
/>
<script>
$(
"input#autocomplete"
).autocomplete(
source: [
'johannesburg z'
,
'johannesburg x'
,
'johannesburg v'
,
'johannesburg b'
,
'johannesburg a'
,
'johannesburg q'
,
'johannesburg u'
,
'johannesburg y'
,
'johannesburg o'
,
'johannesburg p'
]
);
</script>
Hello Peter,
The problem is that we are already using jQuery to do other things, so there might be some conflicts. I suggest you taking this approach - http://api.jquery.com/jQuery.noConflict/
Let us know if it helps.