Non so dove hai letto che non bisogna mettere eventi nel html. Hai provato history.back()?
Cavicchi Andrea Problemi con javascript, jquery, ajax clicca qui
Regole del Forum