For some reason the jQuery UI Accordion does not work. I keep getting this error:
TypeError: $(...).accordion is not a function
Using two jquery.js
files may cause a conflict and result in an errorbeing thrown. Avoid importing two or more jquery.js
files.
in your last code lines, include the script in below order :-
There is no need to include the below as it will be taken care by above scripts.
This problem could arise from a couple of different things:
Since the first two do not apply to you, I would recommend triple-checking the path and using a full jQuery UI library instead of the custom one:
<script src="http://code.jquery.com/ui/1.10.0/jquery-ui.js"></script>
The order of the js files matters!
/external/jquery/jquery.js should be listed above jquery-ui.js!