Yansky wrote:
> I'm just starting to learn about the prototype object in javascript
> and I was wondering if someone could explain just in laymans terms why
> you would use it instead of a regular functions? It seems like it does
> the same thing as regular functions except in a more complicated way.
The general idea (it seems to me) behind these JavaScript libraries is
that you only have to learn how to do things once. If you try to do
things in native JavaScript you end up learning how to do it in Internet
Explorer, then Firefox, then Opera, then Sarfari, then …
--
Steve Swift
http://www.swiftys.org.uk/swifty.html
http://www.ringers.org.uk