i am trying to apply a function to an html id element. I am at the first step And it says
Uncaught TypeError: jQuery(...).myfunction is not a function
https://jsfiddle.net/8cxb3nkt/
Here is the html code:
<img src=myimage.jpg id=image___1>
Here is the javascript:
function myfunction(){
console.log('oooooooook');
}
jQuery('#image___1').myfunction();
Thanks all very much