You know it is always the simple thing that you never think of.


Klaus Hartl wrote:
> 
> 
> Eridius wrote:
>> 
>> Well after using jQuery and then going back to Mootools i do find i like
>> a
>> few thing about jQuery better.  One thing i think jQuery does better is
>> going through the DOM and selecting whatever i want fast and easy.  I
>> also
>> like the .css() function because in mootools i would have to create a
>> fx.Style object which is overkill for changing something as simple as a
>> css
>> element.  This a few issues i am try to resolve with using class with
>> jQUery(I can now create class but some jQuery functions like .each bind
>> info
>> to the "this" variable which is use for class) before i can fully switch
>> to
>> jQuery,
> 
> Quite common workaround:
> 
> var that = this;
> 
> $(...).each(function() {
>      // use "that" to refer to object
> });
> 
> 
> 
> --Klaus
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Why-jQuery-over-Mootools-tf4254982s15494.html#a12128224
Sent from the JQuery mailing list archive at Nabble.com.

Reply via email to