it's bad practice to call javascript from within a tag in html like this.
Better to have href="#" and register the click handler in the javascript using jQuery's $.click or $.bind