Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.Start your free trial
Steven Parker228,096 Points
The JQuery documentation explains that "method" was added in JQuery version 1.9.0. Prior to that, it was called "type", and "type" is still an alias for "method".
It could just be a habit Dave developed from using JQuery starting before version 1.9.0.
Best practice for now on would be to use "method".
Tan Guven3,379 Points
Is there any different library just for simplify ajax? Because jquery is quiet big for just ajax.