Do not use attributes to bind events. Instead use a [document.ready](http://www.learningjquery.com/2006/09/introducing-document-ready).