I have this problem ..
TypeError: $.slideShow is not a function
I'm trying to call a function with the dollar sign $ , but it does not work. The statement is as follows. in my index.html file ..
<script src="js/script.js"></script>
<script>
$.slideShow();
</script>
And in my script.js file I have it in the following way ..
$(document).on("ready", function(){
$.slideShow = function( opcciones ){
Console.log("Slide");
}
});
But it tells me that there is no function $.slideShow
my directory is conformed with
Project -js -script.js
-index.html
PS: at the moment of removing the function that I created. and just write console.log()
in the script of document
if it works, the problem arises when calling the function ..
I use the Jquery version: jquery-2.1.4.min.js
.
Thanks ..