Skip to main content

Timeline for jQuery not defined

Current License: CC BY-SA 3.0

8 events
when toggle format what by license comment
Oct 24, 2018 at 16:56 comment added Remzi Cavdar I want to add that you should always use document ready to be safe and use an anonymous function where you pass in jQuery to be mapped to $ combined with document ready. Like so: jQuery(document).ready(function($) { // $ Works! You can test it with next line if you like // console.log($); });
Nov 3, 2017 at 17:20 answer added jdp timeline score: 1
Nov 3, 2017 at 2:25 vote accept Tony Garand
Nov 3, 2017 at 1:34 comment added Tom J Nowell Note that if you fix this there'll be a second issue where $ is undefined, it should be jQuery( "nav ul") not $( "nav ul" ). You've also setup your initial function incorrectly, look into jQuery(document).ready
Nov 3, 2017 at 1:32 answer added Jacob Peattie timeline score: 0
Nov 3, 2017 at 1:32 history edited Tom J Nowell CC BY-SA 3.0
added 124 characters in body
Nov 3, 2017 at 0:58 review First posts
Nov 3, 2017 at 2:57
Nov 3, 2017 at 0:55 history asked Tony Garand CC BY-SA 3.0