title: Passing data to a jQuery event handler
body: <h2>Scenario</h2>
  <p>In a GUI, a user inserts some text in a text input and then clicks a button: inserted text will be displayed in a div.</p>
  <p>I have found a trivial solution (<a href="http://jsfiddle.net/aNDgC/4/" rel="nofollow noreferrer">demo here</a>), that is setting the output text inside the handler accessing the input element object. It sucks.
  Rather, I would pass the input text (not the element) to the handler.</p>
  <h2>Question</h2>
  <p>How can I pass parameters (the input message text in this case) to the handler function?</p>