title: Jquery get id of textbox that has had enter pressed?
body: <p>I have multiple text boxes with ids like manual_input_1, manual_input_2, manual_input_3. I want to stop the form submiting when enter is pressed in those textboxes. </p>
  
  <p>The code below does this but now I would like to know the whole id of the textbox pressing enter so I can get the box's value. e.g. manual_input_2 pressed enter, value = 1234.</p>
  
  <pre><code>$('[id^="manual_input_"]').keydown(function(e) {
      if(e.which == 13) {
          e.preventDefault();
  
          var id = ?; &lt;--- id of textbox that pressed enter
          var value = ?; &lt;--- value of textbox that pressed enter
  
          alert('Enter pressed for '+id+'\n'+
              'Value = '+value;
          )
  
          return false;
      }
  });
  </code></pre>
  
  <p>Can this be done? Examples would be really helpful.</p>
  
  <p>Thanks</p>