Prototype
Jump to navigation
Jump to search
Useful Links
- Excellent Prototype examples and tutorials.
- Good check list of things to do and to avoid in Prototype.
Notes
- Binding is one of the most useful functions in Prototype. In particular, when iterating over objects with an each and a defined function, the function won't be binded to the current object. You must manually bind it.
- When using classes, use the Prototype classes functions (Class.create()).
- evalJSON() works well, but not the same way as eval() as it is a String method, thus you call it directly on your JSON string.