title: jquery: get value and id of textbox when it changes
body: <p>I'm a Jquery noob, very much in the learning stage.<br>
    This is my fiddle:
  <a href="http://jsfiddle.net/4tjof34d/" rel="nofollow">http://jsfiddle.net/4tjof34d/</a></p>
  
  <p>(Double click any of the three dots to get a textbox in the above fiddle, then enter a value in that box and press enter)
  As you can see it works but how do I get the id and value when the user puts a new value into the textbox?</p>
  
  <p>Basically, I need to get the value in to something like this:</p>
  
  <pre><code>var theId  = $(this)id;
  var newValue = $(this)value;
  
  // console.log(theId+" "+newValue+ " "+savedData);
  </code></pre>
  
  <p>so I can make an AJAX call to update the DB with the new value/s.<br>
  If you could put a comment in the code as well, for example:</p>
  
  <pre><code>// ajax call here
  </code></pre>
  
  <p>that would be appreciated as well!</p>