title: Turning keypress into a button click
body: <p>I am trying to change the code below so that instead of a key being pressed to activate it, I want it to activate when a button is pressed. I've tried to google my way through this one like most things but with no luck. All help is appreciated, its been bugging me for hours, thanks!</p>
  
  <p><code>$("#shout_message").keypress(function(evt) {
          if(evt.which == 13) {
                  var iusername = $('#shout_username').val();
                  var imessage = $('#shout_message').val();
                  post_data = {'username':iusername, 'message':imessage};</code></p>