title: Updating data-value of input text box oninput not working
body: <p>I want to set data-value of text box with the value of itself and the value of another input box. I have written simple javascript snippet to handle this at oninput attribute, but it is not updating the data-value attribute with the expected value.</p>
  
  <pre><code>&lt;form onsubmit="return false" &gt;
  First name : &lt;input type="text" name="txtFirstName" data-value="" oninput="txtFirstName.data-value = txtFirstName.value +' '+ txtLastName.value"/&gt; &lt;br&gt;&lt;br&gt;
  Last name : &lt;input type="text" name="txtLastName" oninput="txtFirstName.data-value = txtFirstName.value +' '+ txtLastName.value"/&gt;
  </code></pre>
  
  <p><strong><a href="http://jsfiddle.net/RXTV7/59/" rel="nofollow">JSFiddle</a></strong>  </p>