[Solved] How to properly use a callback function with jQuery’s document.ready [closed]


You have a syntax error, your code is missing an (:

$(document).ready(function(){

And an other reason may be that you aren’t loading jQuery in your fiddle. To do so, on the sidebar click the dropdown menu and select one of the jQuery items.

enter image description here

7

solved How to properly use a callback function with jQuery’s document.ready [closed]