Auto Updating the Value of an Input Field
<p>I'm not sure how simple or how complicated this question may as I am just learning javascript, but here it goes.</p>

<p>Say I have an input field:</p>

<pre><code>&lt;input type="text" value=""/&gt;
</code></pre>

<p>I am trying to write a javascript function that checks the input value every time a space is entered, and then edit the value live while the user is typing.</p>

<p>For example, say I start typing: hello, how are u </p>

<p>After I hit space following 'u', I would like to replace 'u' with 'you'.</p>

<p>So, if anyone who be so kind, where do I start here? This may be ironic because I see the text I am typing right this instant being updated just to the bottom of this textarea. However, I am trying to get it to update in the field itself.</p>

<p>Thanks!!!</p>
