title: How add class, while start entering text into text field
body: <p>Hello friends I am trying to add class while entering text into text field , can tell me the right way</p>
  
  <pre><code>&lt;input type="text" name="fname"&gt;
  </code></pre>
  
  <p>And after Enter text into text field </p>
  
  <pre><code>&lt;input type="text" name="fname" class="test"&gt;
  </code></pre>
  
  <p>This should add class</p>