Quickie: Preventing Default Link and Button Behavior with jQuery
Real simple: by calling the preventDefault() method on the event, you can stop a link from taking a user away or a button from posting back. This is a routine task for providing controls for your web app. You will use this all the time.
Going a bit further, you can put in some code to execute:


