jquery validator - custom design
<p>I have set of input fields. If any of them incorrect, I'm displaying it in bubble message above the control. What i did is:</p>

<pre><code>errorPlacement: function(error, element) {
        error.insertAfter(element)
        var message = error.html();
        error.html('&lt;div class="innerError"&gt;&lt;div class="message"&gt;' + message + '&lt;/div&gt;&lt;div class="corner"&gt;&lt;/div&gt;&lt;/div&gt;');
    }
</code></pre>

<p>Now, when field is invalid, message displayed as expected, but when I focus out of the field, without changing it or even if i do change it, the inner div (message) remains... </p>

<p>thanks in advanced!</p>
