In the index file of my site, JQuery loads fine.
Here is the code in the console that validates JQuery has loaded:
Site: http://blastoff.x10host.com
A view source reveals the code that should work:
Here is the code in the console that validates JQuery has loaded:
if(typeof jQuery !='undefined'){// jQuery is loaded => print the version
alert(jQuery.fn.jquery);}
However, JQuery code fails in that file through x10hosting.com. Yet, when run on a local web server, the JQuery code runs fine.alert(jQuery.fn.jquery);}
Site: http://blastoff.x10host.com
A view source reveals the code that should work:
$(function () {
$('#search-text').autocompleter({
source: suggestions,
// marker for autocomplete matches
highlightMatches: true,
// show hint
// hint: true,
// abort source if empty field
empty: false,
});
});
$('#search-text').autocompleter({
source: suggestions,
// marker for autocomplete matches
highlightMatches: true,
// show hint
// hint: true,
// abort source if empty field
empty: false,
});
});