Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $("select").change(function () {
- $(".filter").each(function () {
- $(function () { });
- // IIFE - Immediately Invoked Function Expression
- (function(yourcode) {
- // The global jQuery object is passed as a parameter
- yourcode(window.jQuery, window, document);
- }(function($, window, document) {
- // The $ is now locally scoped
- // Listen for the jQuery ready event on the document
- $(function() {
- // The DOM is ready!
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement