[jQuery] Re: this.each is not a function

2009-09-15 Thread tg @oh
Just looking at the code I question the following: attributes no longer use the '@' symbol in jquery 1.3.? 'this' is most likely not a jquery object, so each is not defined for it. tg On Sep 13, 2:24 pm, shapper wrote: > Hello, > > I am using JQuery 1.3.2 and I get the error "this.each is not

[jQuery] Re: this.each is not a function

2009-09-13 Thread Ricardo
How are you using it? On Sep 13, 3:24 pm, shapper wrote: > Hello, > > I am using JQuery 1.3.2 and I get the error "this.each is not a > function" when I try to use the following plugin: > > jQuery.fn.defuscate = function(settings) { >     settings = jQuery.extend({ >         link: true >     },

[jQuery] Re: this.each is not a function

2009-09-13 Thread shapper
On Sep 13, 7:28 pm, Mike McNally wrote: > Have you used a debugging tool to figure out what "this" is?  Also, > your function isn't returning "this", possibly an unrelated problem > but it probably should be fixed. What should I do? Sorry, I am not familiar with JQuery. I am just starting. Thi

[jQuery] Re: this.each is not a function

2009-09-13 Thread Mike McNally
Have you used a debugging tool to figure out what "this" is? Also, your function isn't returning "this", possibly an unrelated problem but it probably should be fixed. On Sun, Sep 13, 2009 at 1:24 PM, shapper wrote: > > Hello, > > I am using JQuery 1.3.2 and I get the error "this.each is not a

[jQuery] Re: this.each is not a function

2009-09-13 Thread Olivier Percebois-Garve
return $(this).each(function() { shapper wrote: Hello, I am using JQuery 1.3.2 and I get the error "this.each is not a function" when I try to use the following plugin: jQuery.fn.defuscate = function(settings) { settings = jQuery.extend({ link: true }, settings); var rege