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
Gregor Šebela11,236 Points
$('form').submit(function (evt) - Why is 'evt' parameter needed?
Can someone explain why is evt parameter needed and what kind of value does it contain when form is submitted.
Dan Weru47,649 Points
The evt argument enables you to hook into form functionality and information . It doesn't have to be named evt ... You can name it however you please. For example, you could write