jquery – is not a function error
This problem is “best” solved by using an anonymous function to pass-in the jQuery object thusly: The Anonymous Function Looks Like: This is JavaScript’s method of implementing (poor man’s) ‘Dependency Injection’ when used alongside things like the ‘Module Pattern’. So Your Code Would Look Like:Of course, you might want to make some changes to your … Read more