Hi!

Working on porting Microsoft DataLink plugin to Prototype i began learn 
jQuery and found one interesting thing; instead of workin whith JS objects 
in the way of Object.method(obj) they use wrap this object in so called 
jQuery object which already has all needed method and propeties to work with 
the object but keep original object inside untouched.
This has a benefit - original object is untouched and we can work wit it 
like it has everithing we need. 
And there is the second benefit - the wrap object has internal id !!! - so 
it can use storage like DOM element in Prototype.js but I cannot!

-- 
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/prototype-scriptaculous/-/_b9eM-7YaPcJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.

Reply via email to