just make sure that you remove any previous validation messages before
inserting new ones. if you add class of 'validation-msg' to your
messages, then do a $('.validation-msg').remove() whenever you
validate something. If you are considering performance when you could
also do something along the lines of $('element-being-
validated').next('.validation-msg').text('new validation message')

On Oct 1, 12:14 pm, surya <[EMAIL PROTECTED]> wrote:
> Hi,
>
>    Small doubt regarding jquery.
>
>    I am getting the jquery messages as the no.of times I clicked the
> update button of my form.
>
>   In detail, When i pressed the update button of my form, i am getting
> the validation message beside the textbox. But when i pressed the
> update button one more time (now 2 times the button is pressed), i am
> getting the validation message 2 times and so on..
>
> Can anyone please help me to fix this one.
>
>  Thanks,
>  Surya.

Reply via email to