ERROR MESSAGE (*Uncaught ReferenceError: jQuery is not defined jquery-ui-1.10.1.custom.js:319 (anonymous function))*
<script src="JS/jquery-ui-1.10.1.custom.js" type="text/javascript"></script>
<script src="JS/jquery-ui-1.10.1.custom.min.js" type="text/javascript"></script>
<script src="MODULES/SHK/Js/autoCombo/jquery.ui.core.js" type="text/javascript"></script>
<script src="MODULES/SHK/Js/autoCombo/jquery.ui.position.js" type="text/javascript"></script>
<script src="MODULES/SHK/Js/autoCombo/jquery.ui.widget.js" type="text/javascript"></script>
<script src="MODULES/SHK/Js/autoCombo/jquery.ui.autocomplete.js" type="text/javascript"></script>
<script src="MODULES/SHK/Js/autoCombo/jquery.ui.button.js" type="text/javascript"></script>
<script src="MODULES/SHK/Js/autoCombo/TRYY.js" type="text/javascript"></script>
<script>
window.onload = aa();
function aa() {
$("#combx").combobox({
selected: function(event, ui) {
alert(ui.item.value);
}
});
}
</script>
You need to declare the main JQuery library and you have two declarations of jquery-ui-custom, one is the original one and the other is minified version. try deleting the other one. I suggest you just delete the one that is unminified
<script src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
<script src="JS/jquery-ui-1.10.1.custom.min.js" type="text/javascript"></script>
/**
*Your other scripts below
*/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With