How to write jQuery code
<p>I've been writing Javascript code and using extensively the jQuery library. My code is not very big although for me is a mesh right now. I would to know if there is a jQuery best practices related to the way you write the code and how to structure it, not only related to performance.</p>

<p>I am asking this because from my point of view using jQuery configures a different way of writing code and I think that people who are used to writing a lot of jQuery + Javascript code have methods to organise the code.</p>

<p>I also would like to know if there is a "common &amp; good" way of documenting jQuery code just like Javadoc.</p>

<p>Thanks in advance.</p>
