title: onkeyup in HTML
body: <p>I am working with HTML and JQuery. Now I am trying onkeyup in HTML. But It doesn't worked.
  HTML:</p>
  
  <pre><code> &lt;p&gt;A function is triggered when the user releases a key in the input field. The function transforms the character to upper case.&lt;/p&gt;
  </code></pre>
  
  <p>Enter your name: </p>
  
  <p>JS;</p>
  
  <pre><code>function myFunction() {
  var x = document.getElementById("fname");
  x.value = x.value.toUpperCase();
  }
  </code></pre>
  
  <p>fiddle:<a href="http://jsfiddle.net/qsxccd36/" rel="nofollow">http://jsfiddle.net/qsxccd36/</a></p>