I don't really know where to start on this, but I need to take a form
like:

<input name="username" type="text" id="username" />
<p>input description</p>

And put an icon [the error label] next to input on success or fail;
but also change the <p>'s text on success or fail.

So a fail would change the message to whatever the message was, and on
success it would return it back to it's normal text.

Or to make it more simple, how can I change the <p>'s text but return
it back to its default on success?

Reply via email to