Questo esempio mi sembra fatto/spiegato bene ed è commentato.
Cavicchi Andrea Problemi con javascript, jquery, ajax clicca qui
Regole del Forum