Inactive User
12 years agoJquery in endpoint
This might be a dumb question but I can't seem to use Lithium's jQuery in an endpoint. For instance, I'm trying to create a javascript file with some common js functions we're using in an endpoint but instantiating jquery like I do in a component isn't seeming to work ie. (function($){//code})(LITHIUM.jQuery); When I try to do anything with $ (in this case, a post), the console shoots back 'TypeError: Cannot call method 'post' of undefined'.
Any ideas?