> I don't like to start calling methods based on the source code ...
> However, is doing so a reasonable approach to learn jQuery's full
capabilities?

I am a big believer in reading the source. All the documentation about how a
particular method behaves is there. I agree that some of it may be private
behavior or methods, but it's better to ask "is it safe to use toggleClass"
or "should toggleClass behave like this" than "does toggleClass exist?"
You'll see toggleClass used quite a bit in responses posted on this list, so
really even that is answered by some searching.

Most of the methods in jQuery are a dozen lines or less--admittedly
sometimes a dense dozen lines but still it's generally possible to figure
out what's going on. Except for the fx module. That is a module for laying
down and avoiding! 

It looks like John's gotten a great start on the reference documentation
(see the "Early Docs Prototype" thread). I'd also like to see a how-to and
FAQ, much of it based on the questions and answers posted on this list. is
anyone working on that? If so I'd like to help. If not I'd like to start!



_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to