Providing feedback in a form using jquery
<p>I want to provide feedback to a user when they enter something into a textbox. A little tick if their input matches a RegEx and false if it does not.</p>

<p>What event do I need to use for this? Key up?</p>

<p>For example:</p>

<pre><code>if (inputText.match(/regex/))
{
   document.write(input is correct); // or something else
}
</code></pre>

<p>I want to provide them feedback as they type. Something like what Yahoo <a href="https://edit.europe.yahoo.com/registration?.intl=uk" rel="nofollow">Registration does</a>.</p>
