jQuery Validation Plugin: Show my own errors with images in "errorPlacement" option
<p>I am using jquery validation plugin. I am using the following function to display default error messages in next td(column) of the element of table.</p>

<pre><code>$(obj).find("form").validate({


 errorElement: "div",
            wrapper: "div",

 errorPlacement: function(error, element) { 
        error.appendTo( element.parent().next() );
 }

 });
</code></pre>

<p>This function is showing default messages but I want to display my own error messages. </p>

<p>For example I want this:</p>

<pre><code>&lt;img id='error' src='images/crosssign.gif' /&gt;")Please fill this field.
</code></pre>

<p>instead of:</p>

<pre><code>"This field is required."
</code></pre>

<p>Thanks in advance.</p>
