title: jquery change/click event on an input
body: <p>I have a problem with my eventhandler.</p>
  
  <p><code>&lt;input id="menuSelection" type="text" value=""/&gt;</code></p>
  
  <p>this field is triggerd from a menu with a value. But my problem is somewhere in the jquery code to get this working more "live"</p>
  
  <p>hierarchybreadcrumb is the menu-id. </p>
  
  <pre><code>$('#hierarchybreadcrumb').click(function(){
  var text = $('#menuSelection').val();
  
  $.get('exercise/xhrGetValue', {text:text}, function(o){
  
  });
  return false;
  });
  </code></pre>
  
  <p>this function gets the result but I have to click on the menu once agen to get it working. How do I get this on the first click to send the get-method? or is it some functionalety that can trigger the change on $('#menuSelection')?</p>
  
  <p>thanks for the help and I hope you understand my problem.</p>